Subject: timespec definition
To: None <current-users@NetBSD.ORG>
From: John Birrell <email@example.com>
Date: 01/29/1996 09:45:04
For some time I've been annoyed by the NetBSD definition of timespec
(which uses ts_sec and ts_nsec where other systems use tv_sec and tv_nsec).
We use timespec a lot and I'm tired of doing...
code for non-standard timespec
code for standard timespec
The NetBSD <sys/time.h> header file refers to POSIX 1003.4 which has been
replaced by POSIX 1003.1b-1993. Section 14.1.1 says that timespec includes
at least tv_sec and tv_nsec and implementations may add extensions.
Is there anyone who (a) agrees that timespec in NetBSD should comply with
POSIX; and (b) has the authority to make the decision to allow the change?
John Birrell CIMlogic Pty Ltd
firstname.lastname@example.org 119 Cecil Street
Ph +61 3 9690 6900 South Melbourne Vic 3205
Fax +61 3 9690 6650 Australia
Mob +61 18 353 137