musl/src/stdio/__stdio_close.c

14 lines
179 B
C
Raw Normal View History

2011-02-12 00:22:29 -05:00
#include "stdio_impl.h"
static int dummy(int fd)
{
return fd;
}
weak_alias(dummy, __aio_close);
2011-02-12 00:22:29 -05:00
int __stdio_close(FILE *f)
{
return syscall(SYS_close, __aio_close(f->fd));
2011-02-12 00:22:29 -05:00
}