CVSROOT: /cvs Module name: src Changes by: chel...@cvs.openbsd.org 2019/06/02 19:27:30
Modified files: share/man/man9 : Makefile sys/kern : kern_tc.c kern_time.c sys/sys : time.h Added files: share/man/man9 : bintimeadd.9 Log message: Switch from bintime_add() et al. to bintimeadd(9). Basically just make all the bintime routines look and behave more like the timeradd(3) macros. Switch to three-argument forms for structure math, introduce and use bintimecmp(9), and rename the structure conversion routines to resemble e.g. TIMEVAL_TO_TIMESPEC(3). Document all of this in a new bintimeadd.9 page. Code input from mpi@, manpage input from schwarze@. code ok mpi@, docs ok schwarze@, docs probably still ok jmc@