diff options
Diffstat (limited to 'src/user/lib/elfload.h')
-rw-r--r-- | src/user/lib/elfload.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/user/lib/elfload.h b/src/user/lib/elfload.h index 283efd8..825f765 100644 --- a/src/user/lib/elfload.h +++ b/src/user/lib/elfload.h @@ -1,6 +1,12 @@ #pragma once #include <bits/file.h> +struct execdata { + int argc; + char **argv, **envp; + char *cwd; +}; + 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 */ |