projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
flush
[m6w6/ext-psi]
/
psi.d
/
stat.psi
diff --git
a/psi.d/stat.psi
b/psi.d/stat.psi
index 82d624976162301b1687dd8d90c5183209aa4232..17dc18851597e53c0cd5c39e9e3fd2d78f55795f 100644
(file)
--- a/
psi.d/stat.psi
+++ b/
psi.d/stat.psi
@@
-1,3
+1,4
@@
+// extern int stat(char *path, struct stat *buf);
function psi\stat(string $path, array &$buf = NULL) : int {
let path = strval($path);
let buf = calloc(1, struct stat);