summaryrefslogtreecommitdiff
path: root/lib/std/execvp.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-10-06 13:32:25 -0700
committerOri Bernstein <ori@eigenstate.org>2015-10-06 13:32:25 -0700
commit3400b0428b9147012553c6f2280147d8dc99bbf1 (patch)
tree0a8b3d4e904963535bff3da1b9d81a1f51084261 /lib/std/execvp.myr
parentc4d04d5ed7a782baf87e5beea2a2d95e31bebc5b (diff)
downloadmc-3400b0428b9147012553c6f2280147d8dc99bbf1.tar.gz
Fix up error handling for syswrap+posixy.myr
Diffstat (limited to 'lib/std/execvp.myr')
-rw-r--r--lib/std/execvp.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/execvp.myr b/lib/std/execvp.myr
index 58c8c60..d8a5119 100644
--- a/lib/std/execvp.myr
+++ b/lib/std/execvp.myr
@@ -8,8 +8,8 @@ use "strsplit.use"
use "syswrap.use"
pkg std =
- const execvp : (cmd : byte[:], args : byte[:][:] -> int64)
- const execvpe : (cmd : byte[:], args : byte[:][:], env : byte[:][:] -> int64)
+ const execvp : (cmd : byte[:], args : byte[:][:] -> errno)
+ const execvpe : (cmd : byte[:], args : byte[:][:], env : byte[:][:] -> errno)
;;
const execvp = {cmd, args