<pthread.h> includes
Stefan Farfeleder
stefanf at FreeBSD.org
Fri Aug 19 09:37:02 GMT 2005
Hi,
I think some of the headers included by <pthread.h> violate the POSIX
specification (I'm looking at SUSv3/POSIX 1003.1 2004) by making more
symbols visible than allowed.
<sys/cdefs.h> Ok
<sys/types.h> Ok
<sys/_pthreadtypes.h> Ok
<sys/time.h> No? (POSIX allows <time.h> which is a subset)
<sys/signal.h> No?
<limits.h> No?
<sched.h> Ok
Is this correct? Should it be fixed?
Stefan
More information about the freebsd-standards
mailing list