minix/lib/libc/sys-minix/close.c
2012-03-25 21:58:14 +02:00

18 lines
241 B
C

#include <sys/cdefs.h>
#include "namespace.h"
#include <lib.h>
#include <unistd.h>
#ifdef __weak_alias
__weak_alias(close, _close)
#endif
int close(fd)
int fd;
{
message m;
m.m1_i1 = fd;
return(_syscall(VFS_PROC_NR, CLOSE, &m));
}