d1961da8afc4b5bbf8d480405ea826c1fc21d558
[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, to_int(*fildes));
8 }