Index: fusl/src/stdio/__stdio_close.c |
diff --git a/fusl/src/stdio/__stdio_close.c b/fusl/src/stdio/__stdio_close.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..79452bdb6498a18eea555568a16d0333ac8ad06d |
--- /dev/null |
+++ b/fusl/src/stdio/__stdio_close.c |
@@ -0,0 +1,13 @@ |
+#include "stdio_impl.h" |
+ |
+static int dummy(int fd) |
+{ |
+ return fd; |
+} |
+ |
+weak_alias(dummy, __aio_close); |
+ |
+int __stdio_close(FILE *f) |
+{ |
+ return syscall(SYS_close, __aio_close(f->fd)); |
+} |