projects
/
m6w6
/
ext-psi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f0c0b1c43af268ffa908d82641eb364be11fd258
[m6w6/ext-psi]
/
tests
/
pipe
/
pipe.psi
1
lib "crypt";
2
3
#include <unistd.h>
4
5
function \pipe(array &$fds = null) : int {
6
return pipe(fildes) as to_int(pipe);
7
let fildes = calloc(2, sizeof(int));
8
set $fds = to_array(*fildes, 2, to_int(*fildes));
9
}