Closed Mokosha closed 4 years ago
usleep has been deprecated for a while now on POSIX systems. From the usleep man page:
usleep
4.3BSD, POSIX.1-2001. POSIX.1-2001 declares this function obsolete; use nanosleep(2) instead. POSIX.1-2008 removes the specification of usleep().
This PR replaces it with nanosleep.
nanosleep
usleep
has been deprecated for a while now on POSIX systems. From theusleep
man page:This PR replaces it with
nanosleep
.