Bug#314435: libc6-dev: struct timespec and nanosleep() not available with -std=c99
On Sun, Jul 24, 2005 at 05:29:47PM +0900, GOTO Masanori wrote:
> > Should Linux man page be updated to mention _POSIX_C_SOURCE?
> I also don't know it should be described to linux man pages - if you
> think so, please reassign it to manpages-dev. However linux manpages
> is not the only reference, I think.
Sure, but it would be nice to have it at least there.
> > BTW, defining _POSIX_SOURCE, which is described in the glibc
> > documentation, didn't work for me. Is it a bug, or does "POSIX.1" mean
> > POSIX 1990 only?
> "/usr/include/features.h" describes the actual detail, please check it
Thanks for the hint! At that time I had only grepped for the macros; now
I saw the comments in the beginning of the files. Seems that nanosleep
was not part of IEEE Std 1003.1; this answers my question.
With kind regards,