svn commit: r194071 - head/lib/libutil

John Baldwin jhb at freebsd.org
Mon Jun 15 16:14:11 UTC 2009


On Friday 12 June 2009 9:49:42 pm Bruce Evans wrote:
> On Fri, 12 Jun 2009, John Baldwin wrote:
> 
> > Log:
> >  - Note that these interfaces require <sys/user.h> for the structure
> >    definitions.
> 
> This should be noted somewhere other than in the synopsis.  Struct
> definitions may or may not be needed for using a function, but one
> place where they are certainly not needed is for calling a function
> (unless the API involves complete structs or the public header is
> missing a forward declaration).

Hmm, I was just copying from kvm_getprocs(3).  I've updated them to refer to 
the header inline instead.

-- 
John Baldwin


More information about the svn-src-all mailing list