summaryrefslogtreecommitdiff
path: root/lib/libc/include/unistd.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-09-09 13:22:35 -0400
committerIan Moffett <ian@osmora.org>2024-09-09 13:24:44 -0400
commit3b86fcc44502c3c25a837885d358aa9200c122e1 (patch)
tree7b16ccaa701157cee49a91915ab7abc1eaecb87e /lib/libc/include/unistd.h
parent853a059b7b4a2173997c40d9c4f098943d1b2c18 (diff)
libc: Add close()
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 f851c96..ebc9ff6 100644
--- a/lib/libc/include/unistd.h
+++ b/lib/libc/include/unistd.h
@@ -33,5 +33,6 @@
#include <sys/types.h>
ssize_t read(int fd, void *buf, size_t count);
+int close(int fd);
#endif /* !_UNISTD_H */