close.c 117 字节
Newer Older
R
Rich Felker 已提交
1 2 3 4 5 6
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int close(int fd)
{
7
	return syscall_cp(SYS_close, fd);
R
Rich Felker 已提交
8
}