diff options
author | Anton Kling <anton@kling.gg> | 2024-12-15 01:30:24 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-15 01:30:24 +0100 |
commit | 19482e5ef5b6710b4b9a52edcb1bb39692336d7a (patch) | |
tree | 4b36953acd4ba6975a16ec57643267ac5f05b8bf /userland/libc/libc.c | |
parent | fd724fc40e527a87d4e521cd704283cdf10f51c4 (diff) |
libc: Add setenv/getenv
Diffstat (limited to 'userland/libc/libc.c')
-rw-r--r-- | userland/libc/libc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/userland/libc/libc.c b/userland/libc/libc.c index 52a8f3f..f2968b5 100644 --- a/userland/libc/libc.c +++ b/userland/libc/libc.c @@ -179,11 +179,6 @@ int close(int fd) { return syscall(SYS_CLOSE, (u32)fd, 0, 0, 0, 0); } -int execv(char *path, char **argv) { - struct SYS_EXEC_PARAMS args = {.path = path, .argv = argv}; - return syscall(SYS_EXEC, (u32)&args, 0, 0, 0, 0); -} - int s_syscall(int sys); int wait(int *stat_loc) { |