summaryrefslogtreecommitdiff
path: root/src/unistd/close.c
blob: 3744aa86946812e069efc828ef5bfcda2f25cdbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "stddef.h"
#include "sys/types.h"
#include <unistd.h>
#include "nonstd/syscall.h"

int close(int fildes)
{
	SYSCALL("close", int, -1, fildes, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/