Re: misc/13326: additional timeval interfaces for

[ Available lists | Index of freebsd-bugs | Month of Sep 1999 | Week of 2 Sep 1999 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Poul-Henning Kamp <phk@critter.freebsd.dk>
Date
2 Sep 1999 12:28:52
Subject
Re: misc/13326: additional timeval interfaces for <sys/time.h>
Message-ID
2477.936300460@critter.freebsd.dk

In reply to

[ Hide this part ]
> the #ifdef KERNEL restriction). In addition, I made 4 new interfaces
> including:
> multiplying and dividing timespec's by integral factors to get new
> timespecs

Your multiplication code is only valid for x <= 2 anything larger
and your nanoseconds roll over faster than you can pick them up.

--
Poul-Henning Kamp FreeBSD coreteam member
phk@FreeBSD.ORG "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Elapsed time: 0.102 seconds