X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=tests%2Fpipe%2Fpipe.psi;h=6fc9e89aee5b2f64760aa7b9e1781f1d07026129;hp=fd7e3ff1770e975a7e8ce4763acf2daa8432235b;hb=d3171526ab7658114cac4ebe1098af4b038e576e;hpb=58066949f02dbdbc3ba7b3fa3a0e01836fa72663 diff --git a/tests/pipe/pipe.psi b/tests/pipe/pipe.psi index fd7e3ff..6fc9e89 100644 --- a/tests/pipe/pipe.psi +++ b/tests/pipe/pipe.psi @@ -1,8 +1,8 @@ -extern int pipe(int fds[2]); +//extern int pipe(int fildes[2]); function \pipe(array &$fds = null) : int { return to_int(pipe); - let fds = calloc(2, psi\SIZEOF_INT); - set $fds = to_array(fds[2]); + let fildes = calloc(2, psi\SIZEOF_INT); + set $fds = to_array(fildes[2]); }