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
etc/services - sync with NetBSD-8
[minix.git]
/
minix
/
lib
/
libc
/
sys
/
unlink.c
blob
daf1b81042fedb2a0a9bde49dac2745ee0466deb
1
#include <sys/cdefs.h>
2
#include <lib.h>
3
#include
"namespace.h"
4
5
#include <string.h>
6
#include <unistd.h>
7
8
int
unlink
(
name
)
9
const char
*
name
;
10
{
11
message m
;
12
13
memset
(&
m
,
0
,
sizeof
(
m
));
14
_loadname
(
name
, &
m
);
15
return
(
_syscall
(
VFS_PROC_NR
,
VFS_UNLINK
, &
m
));
16
}