about summary refs log tree commit diff
path: root/src/stdio/__stdio_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/__stdio_close.c')
-rw-r--r--src/stdio/__stdio_close.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stdio/__stdio_close.c b/src/stdio/__stdio_close.c
new file mode 100644
index 00000000..24fef33f
--- /dev/null
+++ b/src/stdio/__stdio_close.c
@@ -0,0 +1,6 @@
+#include "stdio_impl.h"
+
+int __stdio_close(FILE *f)
+{
+	return __syscall_close(f->fd);
+}