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
some coverity fixes.
[minix.git]
/
lib
/
libc
/
sys-minix
/
rmdir.c
blob
272c1e4bfaf4d785526a7722d70ec0e19fd48f67
1
#include <sys/cdefs.h>
2
#include <lib.h>
3
#include
"namespace.h"
4
5
#ifdef __weak_alias
6
__weak_alias
(
rmdir
,
_rmdir
)
7
#endif
8
9
#include <unistd.h>
10
11
int
rmdir
(
name
)
12
const char
*
name
;
13
{
14
message m
;
15
16
_loadname
(
name
, &
m
);
17
return
(
_syscall
(
VFS_PROC_NR
,
RMDIR
, &
m
));
18
}