github.com/afumu/libc@v0.0.6/musl/src/stdio/__stdio_close.c (about)

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