repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libutil: add O_NOCTTY back to old pty open code
[minix.git]
/
lib
/
libc
/
sys-minix
/
unlink.c
blob
a8cbed13a8b78d8385afb5603d8204e3fb824b10
1
#include <sys/cdefs.h>
2
#include <lib.h>
3
#include
"namespace.h"
4
5
#include <unistd.h>
6
7
#ifdef __weak_alias
8
__weak_alias
(
unlink
,
_unlink
)
9
#endif
10
11
int
unlink
(
name
)
12
const char
*
name
;
13
{
14
message m
;
15
16
_loadname
(
name
, &
m
);
17
return
(
_syscall
(
VFS_PROC_NR
,
UNLINK
, &
m
));
18
}