summaryrefslogtreecommitdiff
path: root/src/unistd/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/sleep.c')
-rw-r--r--src/unistd/sleep.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/unistd/sleep.c b/src/unistd/sleep.c
new file mode 100644
index 00000000..1e884f8e
--- /dev/null
+++ b/src/unistd/sleep.c
@@ -0,0 +1,16 @@
+#include "stddef.h"
+#include "sys/types.h"
+#include <unistd.h>
+#include "nonstd/syscall.h"
+
+unsigned sleep(unsigned seconds)
+{
+ #if 0
+ SC(unsigned, seconds);
+ #else
+ return seconds;
+ #endif
+}
+/*
+POSIX(1)
+*/