From 19482e5ef5b6710b4b9a52edcb1bb39692336d7a Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Sun, 15 Dec 2024 01:30:24 +0100 Subject: libc: Add setenv/getenv --- userland/libc/libc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'userland/libc/libc.c') 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) { -- cgit v1.2.3