Use nanosleep() and setitimer() instead of usleep() and ualarm().
authormillert <millert@openbsd.org>
Fri, 2 Jul 2021 15:34:16 +0000 (15:34 +0000)
committermillert <millert@openbsd.org>
Fri, 2 Jul 2021 15:34:16 +0000 (15:34 +0000)
commit07a32fc57e52c6788a886a4d60789ae51394d25b
treea9f6463d7f134861d44715a39c7829bd72b95ecb
parent7b3bdc05d01be714403c91404a97f737c3775560
Use nanosleep() and setitimer() instead of usleep() and ualarm().
Both usleep() and ualarm() are obsolete and were removed from POSIX.
OK deraadt@
usr.bin/systat/engine.c
usr.bin/systat/engine.h
usr.bin/systat/main.c