From 9bc0738101979b626233ee226ece3cc8cae053ec Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Sun, 2 Feb 2025 15:20:52 +0000 Subject: full flow implemented --- api/posix/unistd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/posix/unistd.h') 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 #include "sys/types.h" +#include #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); -- cgit v1.3.1-1-g115d