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

Robert Millan rmh at aybabtu.com
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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 18 17:50:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Robert Millan
>Release:        GNU/kFreeBSD 5.4-1-586 i586
>Organization:
>Environment:
System: GNU/kFreeBSD io.debian.net 5.4-1-586 #0 Mon Dec 5 19:45:10 CET 2005 i586 i386 AMD-K6(tm) 3D processor GNU/kFreeBSD
Architecture: i586

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

  clock_getres, clock_gettime, clock_settime

See http://www.opengroup.org/onlinepubs/009695399/functions/clock_settime.html

>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-standards mailing list