CVSROOT:        /cvs
Module name:    src
Changes by:     chel...@cvs.openbsd.org 2019/01/18 02:36:47

Modified files:
        lib/libc/sys   : getitimer.2 
        sys/sys        : time.h 

Log message:
sys/time.h: new macros: timerisvalid() and timespecisvalid().

Make it less likely you miss a zero when typing out 100000 or 100000000.
Document them in getitimer.2 for the masses.  These may be of use in
library code as well as the kernel.

Comparable inline functions exist in Linux but are not available to
userspace like these.

"OK." deraadt@

Reply via email to