mirror of
https://github.com/ziglang/zig.git
synced 2025-12-18 12:13:20 +00:00
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
9 lines
212 B
C
Vendored
9 lines
212 B
C
Vendored
#include <unistd.h>
|
|
#include "syscall.h"
|
|
|
|
int execve(const char *path, char *const argv[], char *const envp[])
|
|
{
|
|
/* do we need to use environ if envp is null? */
|
|
return syscall(SYS_execve, path, argv, envp);
|
|
}
|