man types.h

Colin Watson cjwatson at ubuntu.com
Thu Jan 17 12:32:31 UTC 2013


On Thu, Jan 17, 2013 at 01:11:49PM +0100, Lanoxx wrote:
> it seems that for solaris there exists a man page for types.h [1]
> but I could not find such a man page on ubuntu. Could someone give
> me a hint, why it does not exist or is the man page name just
> different on ubuntu?

We don't tend to have manual pages for header files, only for the
functions they contain.  This is arguably a bit awkward for
<sys/types.h> which doesn't actually contain any functions.

I don't think it's a huge problem, though, since the dominating reason
why you might choose any given type from that header over any other one
would be because of its use in a library function, and there should be
manual pages for all the standard library functions which document the
types they're intended to take.

For documentation of the various system-specific conditional macros used
in <sys/types.h>, I recommend feature_test_macros(7) (or ftm(7) for
short).

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the Ubuntu-devel-discuss mailing list