fd7e3ff1770e975a7e8ce4763acf2daa8432235b
[m6w6/ext-psi] / tests / pipe / pipe.psi
1
2 extern int pipe(int fds[2]);
3
4 function \pipe(array &$fds = null) : int {
5 return to_int(pipe);
6 let fds = calloc(2, psi\SIZEOF_INT);
7 set $fds = to_array(fds[2]);
8 }