A problem with timespec

Ulrich Drepper drepper@cygnus.com
Tue Oct 27 12:08:00 GMT 1998


hjl@lucon.org (H.J. Lu) writes:

> > In what context?  timespec certainly is needed and since it is part of
> > POSIX.1b it must be available if _POSIX_C_SOURCE=199506 is selected.
> > 
> 
> It only complains it when it sees them in <signal.h>.

This is wrong.  struct timespec has to be available for the
sigtimedwait function which has to be declared in signal.h.  What do
they expect?  A stupid forward declaration?

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



More information about the Libc-hacker mailing list