17 lines
258 B
C
17 lines
258 B
C
|
#include <sys/cdefs.h>
|
||
|
#include <lib.h>
|
||
|
#include "namespace.h"
|
||
|
|
||
|
#include <string.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
int unlink(name)
|
||
|
const char *name;
|
||
|
{
|
||
|
message m;
|
||
|
|
||
|
memset(&m, 0, sizeof(m));
|
||
|
_loadname(name, &m);
|
||
|
return(_syscall(VFS_PROC_NR, VFS_UNLINK, &m));
|
||
|
}
|