summaryrefslogtreecommitdiff
path: root/lib/libform
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2021-07-02 17:16:21 +0000
committercheloha <cheloha@cvs.openbsd.org>2021-07-02 17:16:21 +0000
commit18edd7611c6b7d48c6d999f20b0cdde1d6a9e062 (patch)
treec2c72a0ad1f808425f2d6d95da0c90019dab0261 /lib/libform
parent259ec9d4995476169c9196936f8ca007bbb4c0e1 (diff)
usleep(3): always call nanosleep(2)
usleep(3) is a wrapper around nanosleep(2). We should always call nanosleep(), even if the input is zero. This makes behavior easier to reason about and ensures we get a nanosleep() ktrace hit if a program calls usleep(). ok millert@
Diffstat (limited to 'lib/libform')
0 files changed, 0 insertions, 0 deletions