• Rosen Penev's avatar
    procd: Switch to nanosleep · 8e9fb51f
    Rosen Penev authored
    usleep has been deprecated by POSIX.1-2001 and removed in POSIX.1-2008.
    Fixes compilation when libc does not include usleep (optional with
    uClibc-ng).
    
    nanosleep also has the advantage of being more accurate.
    Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
    8e9fb51f
Name
Last commit
Last update
initd Loading commit data...
jail Loading commit data...
plug Loading commit data...
service Loading commit data...
trace Loading commit data...
upgraded Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
container.h Loading commit data...
inittab.c Loading commit data...
libc-compat.h Loading commit data...
log.h Loading commit data...
make_capabilities_h.sh Loading commit data...
make_syscall_h.sh Loading commit data...
preload.h Loading commit data...
procd.c Loading commit data...
procd.h Loading commit data...
rcS.c Loading commit data...
rcS.h Loading commit data...
signal.c Loading commit data...
state.c Loading commit data...
system.c Loading commit data...
sysupgrade.c Loading commit data...
sysupgrade.h Loading commit data...
ubus.c Loading commit data...
watchdog.c Loading commit data...
watchdog.h Loading commit data...