minix/lib/libc/posix/_close.c

13 lines
157 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include <lib.h>
#define close _close
#include <unistd.h>
PUBLIC int close(fd)
int fd;
{
message m;
m.m1_i1 = fd;
return(_syscall(FS, CLOSE, &m));
}