Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2001 15:29:39 -0700 (PDT)
From:      Bernd Luevelsmeyer <bdluevel@heitec.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/30297: CLOCKS_PER_SEC non-standard
Message-ID:  <200109032229.f83MTd301051@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         30297
>Category:       misc
>Synopsis:       CLOCKS_PER_SEC non-standard
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 03 15:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Luevelsmeyer
>Release:        4.4-RC
>Organization:
>Environment:
FreeBSD 4.4-RC i386
>Description:
CLOCKS_PER_SEC in the #include-file <time.h> is 128.
"The Single UNIX Specification" at
http://www.UNIX-systems.org/online.html however says
"CLOCKS_PER_SEC is defined to be one million in <time.h>", and
the Red Hat Linux 7.2 manpage says "POSIX requires
that CLOCKS_PER_SEC equals 1000000 independent of the actual
resolution."
>How-To-Repeat:

>Fix:
If POSIX indeed requires CLOCKS_PER_SEC to be one million then
it should be changed to that value, in order to enhance
Standard conformance.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109032229.f83MTd301051>