projects
/
m6w6
/
ext-psi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
travis: update
[m6w6/ext-psi]
/
pipe
/
pipe.psi
1
2
// extern int pipe(int fildes[2]);
3
4
function \pipe(array &$fds = null) : int {
5
return to_int(pipe);
6
let fildes = calloc(2, psi\SIZEOF_INT);
7
set $fds = to_array(*fildes, 2, to_int(*fildes));
8
}