From 3b86fcc44502c3c25a837885d358aa9200c122e1 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 9 Sep 2024 13:22:35 -0400 Subject: libc: Add close() Signed-off-by: Ian Moffett --- lib/libc/include/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libc/include/unistd.h') 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 ssize_t read(int fd, void *buf, size_t count); +int close(int fd); #endif /* !_UNISTD_H */ -- cgit v1.2.3