add execvp

This commit is contained in:
Mackenzie Clark
2019-03-01 10:59:52 -08:00
parent 2ea9d0b09b
commit 00e3ec1446
9 changed files with 98 additions and 0 deletions

View File

@ -31,6 +31,7 @@ mod emscripten_target;
mod env;
mod errno;
mod exception;
mod exec;
mod io;
mod jmp;
mod linking;
@ -439,6 +440,9 @@ pub fn generate_emscripten_env(globals: &mut EmscriptenGlobals) -> ImportObject
"___unlock" => func!(crate::lock::___unlock),
"___wait" => func!(crate::lock::___wait),
// exec
"_execvp" => func!(crate::exec::_execvp),
// Env
"___assert_fail" => func!(crate::env::___assert_fail),
"_getenv" => func!(crate::env::_getenv),