extern int readlink __P((const char *, char *, int));
extern unsigned int sleep __P((unsigned int seconds));
+extern int usleep __P((useconds_t usecs));
extern char **environ;
SRC_C += strcasecmp.c strcasestr.c strdup.c stricmp.c strlcpy.c strncasecmp.c
SRC_C += strnlen.c strnicmp.c strsep.c strxfrm.c strcoll.c strsignal.c
SRC_C += strtod.c strtol.c system.c time.c tmpfile.c tmpnam.c ttyname.c
-SRC_C += tzset.c ungetc.c utent.c utimes.c utsname.c
+SRC_C += tzset.c ungetc.c usleep.c utent.c utimes.c utsname.c
SRC_C += vfprintf.c vprintf.c wait.c xitoa.c pathconf.c
SRC_C += gethostname.c sysconf.c confstr.c memccpy.c getpass.c
# ctype
SRC_C += strcasecmp.c strcasestr.c strdup.c stricmp.c strlcpy.c strncasecmp.c
SRC_C += strnicmp.c strnlen.c strsep.c strsignal.c
SRC_C += system.c time.c tmpfile.c tmpnam.c ttyname.c
-SRC_C += tzset.c ungetc.c utent.c utimes.c utsname.c
+SRC_C += tzset.c ungetc.c usleep.c utent.c utimes.c utsname.c
SRC_C += vfprintf.c vprintf.c wait.c xitoa.c pathconf.c
SRC_C += gethostname.c sysconf.c confstr.c memccpy.c getpass.c
SRC_C += strtol.c
SRC_C += strcasecmp.c strcasestr.c strdup.c stricmp.c strlcpy.c strncasecmp.c
SRC_C += strnlen.c strnicmp.c strsep.c strsignal.c strxfrm.c strcoll.c
SRC_C += strtod.c strtol.c system.c time.c tmpfile.c tmpnam.c ttyname.c
-SRC_C += tzset.c ungetc.c utent.c utimes.c utsname.c
+SRC_C += tzset.c ungetc.c usleep.c utent.c utimes.c utsname.c
SRC_C += vfprintf.c vprintf.c wait.c xitoa.c pathconf.c
SRC_C += gethostname.c sysconf.c confstr.c memccpy.c getpass.c
# ctype
--- /dev/null
+/* usleep.c
+ */
+#include <unistd.h>
+#include <stdlib.h>
+#include <signal.h>
+#include <syscalls.h>
+
+int usleep(useconds_t us)
+{
+ return _pause(us/100000UL);
+}