Any idea why timespec* is _KERNEL stuff only?

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Jul 21 09:33:18 PDT 2004


In message <20040721232310.Y2587 at epsplex.bde.org>, Bruce Evans writes:

>The timespec struct is POSIX standard.  POSIX has the correct number of
>functions for operating on timespec structs (none).

I am not in agreement mere.  As much as I hate timespec, we'll have
to live with it, and rather than have people make their own mistakes
I'd prefer to expose some functions/macros that do it right.

-- 
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.


More information about the freebsd-current mailing list