]>
git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/stdio/__stdio_close.c
a99aa078d3e3f9f1db85ccba0a5cdf3da80837b3
1 #ifdef __wasilibc_unmodified_upstream
5 #include "stdio_impl.h"
7 static int dummy(int fd
)
12 weak_alias(dummy
, __aio_close
);
14 int __stdio_close(FILE *f
)
16 #ifdef __wasilibc_unmodified_upstream
17 return syscall(SYS_close
, __aio_close(f
->fd
));
19 return close(__aio_close(f
->fd
));