This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 03/31/2010 10:51 AM, Ralf Corsepius wrote: > On 03/31/2010 06:45 PM, Eric Blake wrote: >> On 03/31/2010 10:31 AM, Ralf Corsepius wrote: >> >>>> sched.h includes sys/types.h (which defines timespec) >>>> >>>> >>> SUSv4 mandates timespec in<time.h> and sys/sched.h to receive it from >>> <time.h>. >>> >> SUSv4 does not mandate<sys/sched.h>. > Correct, a stupid typo on my part. I was referring to <sched.h> That said... SUSv4 mandates that <sched.h> provides struct timespec as in <time.h>, and permits (but does not require) <sched.h> to include <time.h> as a means of meeting that mandate. However, it is also possible for both <time.h> and <sched.h> to include yet another (implementation-specific) header (in this cased, <sys/sched.h>) to provide a consistent definition of struct timespec, without <sched.h> having to pull in anything from <time.h>. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |