Date: Wed, 21 Jul 2004 12:44:47 -0400 From: Charles Swiger <cswiger@mac.com> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: current@freebsd.org Subject: Re: Any idea why timespec* is _KERNEL stuff only? Message-ID: <4691F91E-DB35-11D8-BD53-003065ABFD92@mac.com> In-Reply-To: <84539.1090427579@critter.freebsd.dk> References: <84539.1090427579@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4691F91E-DB35-11D8-BD53-003065ABFD92>