diff options
author | dzwdz | 2022-07-27 13:59:52 +0200 |
---|---|---|
committer | dzwdz | 2022-07-27 13:59:52 +0200 |
commit | c77b0fa7916f79c099ee4a6a80a093334e9090ac (patch) | |
tree | 19eaedcecaa1584b83342853f1616975b50cad97 /src/user/lib/elfload.h | |
parent | 55b3a04e97b7ddd0db17a4fc3ba35461b106b92f (diff) |
user/libc: execve() supports passing argv now
Diffstat (limited to 'src/user/lib/elfload.h')
-rw-r--r-- | src/user/lib/elfload.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/lib/elfload.h b/src/user/lib/elfload.h index d0fb29d..283efd8 100644 --- a/src/user/lib/elfload.h +++ b/src/user/lib/elfload.h @@ -1,8 +1,8 @@ #pragma once #include <bits/file.h> -void elf_execf(FILE *f); -void elf_exec(void *elf); +void elf_execf(FILE *f, char **argv, char **envp); +void elf_exec(void *base, char **argv, char **envp); void *elf_partialexec(void *elf); /* returns pointer to entry point */ void elf_selfreloc(void); // elfreloc.c |