__stdio_close.c 179 B

12345678910111213
  1. #include "stdio_impl.h"
  2. static int dummy(int fd)
  3. {
  4. return fd;
  5. }
  6. weak_alias(dummy, __aio_close);
  7. int __stdio_close(FILE *f)
  8. {
  9. return syscall(SYS_close, __aio_close(f->fd));
  10. }