Any idea why timespec* is _KERNEL stuff only?

Charles Swiger cswiger at mac.com
Wed Jul 21 09:44:52 PDT 2004


On Jul 21, 2004, at 12:32 PM, Poul-Henning Kamp wrote:
>> The timespec struct is POSIX standard.  POSIX has the correct number 
>> of
>> functions for operating on timespec structs (none).
>
> I am not in agreement [h]ere.  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.

Doesn't Paul Vixie's eventlib expose (struct timespec)s anyway, as well 
as providing conversion functions to and from (struct timeval)s?

-- 
-Chuck



More information about the freebsd-current mailing list