summaryrefslogtreecommitdiff
path: root/src/unistd/close.c
blob: f52c0ef3a91736264a3c9ae0c06e3182ea44d7dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int close(int fd)
{
	int ret = syscall(SYS_close, fd);
	CANCELPT_BEGIN;
	CANCELPT_END;
	return ret;
}