diff options
author | cheloha <cheloha@cvs.openbsd.org> | 2021-07-02 17:16:21 +0000 |
---|---|---|
committer | cheloha <cheloha@cvs.openbsd.org> | 2021-07-02 17:16:21 +0000 |
commit | 18edd7611c6b7d48c6d999f20b0cdde1d6a9e062 (patch) | |
tree | c2c72a0ad1f808425f2d6d95da0c90019dab0261 /lib/libform | |
parent | 259ec9d4995476169c9196936f8ca007bbb4c0e1 (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