flush
[m6w6/ext-psi] / tests / 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]);
8 }