minix/lib/nbsd_libc/sys-minix/close.c

19 lines
248 B
C
Raw Normal View History

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