minix/lib/libc/posix/_close.c
2010-06-08 13:58:01 +00:00

12 lines
166 B
C

#include <lib.h>
#define close _close
#include <unistd.h>
PUBLIC int close(fd)
int fd;
{
message m;
m.m1_i1 = fd;
return(_syscall(VFS_PROC_NR, CLOSE, &m));
}