summaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/unistd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/include/unistd.h b/lib/libc/include/unistd.h
index 47cde66..8784d6b 100644
--- a/lib/libc/include/unistd.h
+++ b/lib/libc/include/unistd.h
@@ -30,11 +30,17 @@
#ifndef _UNISTD_H
#define _UNISTD_H
+#include <sys/types.h>
+#include <stddef.h>
+
#if defined(__cplusplus)
extern "C" {
#endif
+#define STDOUT_FILENO 1
+
_Noreturn void _exit(int status);
+ssize_t write(int fd, const void *buf, size_t count);
#if defined(__cplusplus)
}