[3380] in Athena Bugs

home help back first fref pref prev next nref lref last post

tv_usec argument to select()

daemon@ATHENA.MIT.EDU (Barr3y Jaspan)
Fri Oct 6 17:55:14 1989

Date: Fri, 6 Oct 89 17:54:52 -0400
From: Barr3y Jaspan <bjaspan@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

The kernel function itimerfix() (kern_time.c) returns EINVAL if the
tv_usec field of a struct timeval is greater than 10 ** 6.  Unless
there is some really good reason it does this, it is a silly thing to
check -- why insist tv_usec be normalized to under 1 million?  If
there _IS_ a good reason, then the restriction should be documented in
the man page.

Barr3y


home help back first fref pref prev next nref lref last post