Re: Any idea why timespec* is _KERNEL stuff only?

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 21 Jul 2004 13:36:45 +0200
In message <20040721113211.GA1899_at_frontfree.net>, Xin LI writes:
>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_at_, can't remember to be honest.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Wed Jul 21 2004 - 09:36:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:02 UTC