diff options
| author | Ada Christine <adachristine18@gmail.com> | 2024-02-24 00:59:40 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2024-02-24 00:59:40 +0000 |
| commit | a61b9d1c9ee85ec08ff3b8a61e80dc33e71f3472 (patch) | |
| tree | ed3c6ecaa88d82f422cc73fea30183b9575d7ba3 /api/posix/unistd.h | |
| parent | cadd8266b02035065559ddd27aa0b37051bf16e9 (diff) | |
cleanup
Diffstat (limited to 'api/posix/unistd.h')
| -rw-r--r-- | api/posix/unistd.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <stddef.h> +#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); + |
