From a61b9d1c9ee85ec08ff3b8a61e80dc33e71f3472 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Sat, 24 Feb 2024 00:59:40 +0000 Subject: cleanup --- api/posix/unistd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'api/posix/unistd.h') diff --git a/api/posix/unistd.h b/api/posix/unistd.h index e440a4a..7487001 100644 --- a/api/posix/unistd.h +++ b/api/posix/unistd.h @@ -1,5 +1,8 @@ #pragma once +#include +#include "sys/types.h" + #define STDIN_FILENO 0 #define STDOUT_FILENO 1 #define STDERR_FILENO 2 @@ -11,3 +14,5 @@ enum seek_whence SEEK_END }; +ssize_t write(int fd, const void *buf, size_t length); + -- cgit v1.3.1-1-g115d