about summary refs log tree commit diff
path: root/src/stdio/__stdio_close.c
blob: 79452bdb6498a18eea555568a16d0333ac8ad06d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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));
}