Skip to content
Snippets Groups Projects
Commit 775c52e6 authored by Bill Fraser's avatar Bill Fraser
Browse files

add wexecv, wexecve, wexecvp, wexecvpe

parent 3118fb45
No related branches found
No related tags found
No related merge requests found
......@@ -463,6 +463,28 @@ extern "C" {
argv: *const *const c_char,
envp: *const *const c_char,
) -> ::c_int;
#[link_name = "_wexecv"]
pub fn wexecv(
prog: *const wchar_t,
argv: *const *const wchar_t,
) -> ::intptr_t;
#[link_name = "_wexecve"]
pub fn wexecve(
prog: *const wchar_t,
argv: *const *const wchar_t,
envp: *const *const wchar_t,
) -> ::intptr_t;
#[link_name = "_wexecvp"]
pub fn wexecvp(
c: *const wchar_t,
argv: *const *const wchar_t,
) -> ::intptr_t;
#[link_name = "_wexecvpe"]
pub fn wexecvpe(
c: *const wchar_t,
argv: *const *const wchar_t,
envp: *const *const wchar_t,
) -> ::intptr_t;
#[link_name = "_getcwd"]
pub fn getcwd(buf: *mut c_char, size: ::c_int) -> *mut c_char;
#[link_name = "_getpid"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment