aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/unistd.h
diff options
context:
space:
mode:
authorKaimakan71 <undefined.foss@gmail.com>2024-04-21 14:05:38 -0400
committerIan Moffett <ian@osmora.org>2024-04-21 19:02:01 -0400
commit6132e1e97271fb915184803dec701fd39ef7bb10 (patch)
treeb815168bf21afe50551947349aa6c34d723d1318 /lib/libc/include/unistd.h
parentbc4adda7297b07a764b42f2c30e80f9bbee6a25d (diff)
libc: Add close() and stdio functions
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/include/unistd.h')
-rw-r--r--lib/libc/include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/include/unistd.h b/lib/libc/include/unistd.h
index 8d92422..f82c83a 100644
--- a/lib/libc/include/unistd.h
+++ b/lib/libc/include/unistd.h
@@ -42,6 +42,7 @@ extern "C" {
_Noreturn void _exit(int status);
ssize_t write(int fd, const void *buf, size_t count);
ssize_t read(int fd, void *buf, size_t count);
+int close(int fd);
#if defined(__cplusplus)
}