summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/unistd/posix_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/unistd/posix_close.c')
-rw-r--r--libc-top-half/musl/src/unistd/posix_close.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/unistd/posix_close.c b/libc-top-half/musl/src/unistd/posix_close.c
new file mode 100644
index 0000000..90f51a8
--- /dev/null
+++ b/libc-top-half/musl/src/unistd/posix_close.c
@@ -0,0 +1,6 @@
+#include <unistd.h>
+
+int posix_close(int fd, int flags)
+{
+ return close(fd);
+}