Any idea why timespec* is _KERNEL stuff only?
Xin LI
delphij at frontfree.net
Wed Jul 21 05:12:22 PDT 2004
On Wed, Jul 21, 2004 at 01:36:45PM +0200, Poul-Henning Kamp wrote:
> >Hi, Poul-Henning,
> >
> >It seems that rev. 1.23 of sys/sys/time.h has constrained timespec* macros
> >to be _KERNEL (KERNEL in the old days) only. Is this intended? (NetBSD and
> >OpenBSD don't expect _KERNEL for these macros, e.g. timespeccmp, and I
> >personally think that these macros will be better for more generic use,
> >as timespec structure is not _KERNEL protected :-)
>
> I agree. I belive I made the _KERNEL only due to pressure from the
> standards people or possibly bde@, can't remember to be honest.
Oh... Shall I ask for a review for a change of the current behavior, or have my
own version of timespec* macros in my program, for compability reasons?
Cheers,
--
Xin LI <delphij frontfree net> http://www.delphij.net/
See complete headers for GPG key and other information.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040721/bfca46a9/attachment.bin
More information about the freebsd-current
mailing list