libutil: add O_NOCTTY back to old pty open code
[minix.git] / lib / libc / sys-minix / unlink.c
bloba8cbed13a8b78d8385afb5603d8204e3fb824b10
1 #include <sys/cdefs.h>
2 #include <lib.h>
3 #include "namespace.h"
5 #include <unistd.h>
7 #ifdef __weak_alias
8 __weak_alias(unlink, _unlink)
9 #endif
11 int unlink(name)
12 const char *name;
14 message m;
16 _loadname(name, &m);
17 return(_syscall(VFS_PROC_NR, UNLINK, &m));