Skip to content

Commit a4a859b

Browse files
authored
Add unlink
1 parent c5e9f7b commit a4a859b

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

ppu/librt/unlink.c

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#include <stdio.h>
2+
#include <fcntl.h>
3+
#include <_ansi.h>
4+
#include <_syslist.h>
5+
#include <sys/reent.h>
6+
#include <sys/errno.h>
7+
#include <sys/types.h>
8+
#include <sys/lv2errno.h>
9+
10+
#include <sys/file.h>
11+
12+
int
13+
_DEFUN(__librt_unlink_r,(r,path),
14+
struct _reent *r _AND
15+
const char *path)
16+
{
17+
return lv2errno_r(r,sysLv2FsUnlink(path));
18+
}

0 commit comments

Comments
 (0)