summaryrefslogtreecommitdiff
path: root/api/posix
diff options
context:
space:
mode:
Diffstat (limited to 'api/posix')
-rw-r--r--api/posix/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/posix/unistd.h b/api/posix/unistd.h
index 4964689..6139660 100644
--- a/api/posix/unistd.h
+++ b/api/posix/unistd.h
@@ -2,6 +2,7 @@
#include <stddef.h>
#include "sys/types.h"
+#include <stdnoreturn.h>
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
@@ -18,4 +19,5 @@ ssize_t read(int fd, void *buf, size_t length);
ssize_t write(int fd, const void *buf, size_t length);
off_t lseek(int fd, off_t position, int whence);
int close(int fd);
+noreturn void _exit(int status);