History log of /openbsd/lib/libc/gen/usleep.c (Results 1 – 11 of 11)
Revision Date Author Comments
# e976f7cd 02-Jul-2021 cheloha <cheloha@openbsd.org>

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

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@

show more ...


# c2c925de 08-Aug-2005 espie <espie@openbsd.org>

zap remaining rcsid.

Kill old files that are no longer compiled.

okay theo


# 73b3e3c4 18-May-2004 jfb <jfb@openbsd.org>

ansify function definitions and zap some `register'

ok millert@


# 6580fee3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 1d9997a2 08-Feb-1998 tholo <tholo@openbsd.org>

Pull in prototype


# fe5adcf1 06-Nov-1997 millert <millert@openbsd.org>

XPG4.2 compat:
1) usleep() and ualarm() use useconds_t not u_int
2) usleep() returns an int


# 44cc45ca 25-Apr-1997 tholo <tholo@openbsd.org>

Use nanosleep(2)


# c8f91e0d 15-Sep-1996 tholo <tholo@openbsd.org>

Remove dead code
Remove unused variables
Silence some warnings
lint(1) is your friend


# e9b2b68c 19-Aug-1996 tholo <tholo@openbsd.org>

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# bc62ad8e 28-Oct-1995 deraadt <deraadt@openbsd.org>

Eliminate race by stopping timer before restarting it with remaining time
(one more system call).


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree