summaryrefslogtreecommitdiff
path: root/src/stdio/__stdio_close.c
blob: 30291328518783e7d46284da4546863adfb9efeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "stdio_impl.h"
#include "aio_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));
}