standards/96016: clock_getres et al should be in <time.h>

Robert Millan rmh at
Tue Apr 18 17:50:15 UTC 2006

>Number:         96016
>Category:       standards
>Synopsis:       clock_getres et al should be in <time.h>
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-standards
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 18 17:50:12 GMT 2006
>Originator:     Robert Millan
>Release:        GNU/kFreeBSD 5.4-1-586 i586
System: GNU/kFreeBSD 5.4-1-586 #0 Mon Dec 5 19:45:10 CET 2005 i586 i386 AMD-K6(tm) 3D processor GNU/kFreeBSD
Architecture: i586

POSIX says that the following functions should be declared in <time.h>, rather
than <sys/time.h>:

  clock_getres, clock_gettime, clock_settime





More information about the freebsd-standards mailing list