repo.or.cz
/
ps4-sdk.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update file.c
[ps4-sdk.git]
/
libPS4
/
source
/
file.c
blob
9a80000a69e800babb64c20f7dd0e5c6e7848c75
1
#include
"syscall.h"
2
3
#include
"file.h"
4
5
SYSCALL
(
read
,
3
);
6
SYSCALL
(
write
,
4
);
7
SYSCALL
(
open
,
5
);
8
SYSCALL
(
close
,
5
);
9
SYSCALL
(
unlink
,
10
);
10
SYSCALL
(
fchmod
,
124
);
11
SYSCALL
(
rename
,
128
);
12
SYSCALL
(
mkdir
,
136
);
13
SYSCALL
(
rmdir
,
137
);
14
SYSCALL
(
stat
,
188
);
15
SYSCALL
(
fstat
,
189
);
16
SYSCALL
(
getdents
,
272
);
17
18
int
getSandboxDirectory
(
char
*
destination
,
int
*
length
) {
19
return
syscall
(
602
,
0
,
destination
,
length
);
20
}