Problem with ctype.h
Roland McGrath
roland@frob.com
Mon Oct 26 14:27:00 GMT 1998
> The question is if 1003.1-1996 allows everything in
> <bits/pthreadtypes.h> to be included in <ctype.h>.
I think it does, but only because its allowance is so broad.
ANSI/ISO C definitely does not allow it.
> They should be ok in <pthread.h>. Shouldn't we just include
> <bits/pthreadtypes.h> when the types defined in it are needed?
Yes, I think so. I don't see why any of those types are needed except by
<pthread.h>.
More information about the Libc-hacker
mailing list