diff options
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/sys/syscall.h | 1 | ||||
-rw-r--r-- | lib/libc/include/unistd.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/include/sys/syscall.h b/lib/libc/include/sys/syscall.h index c8ff062..6792753 100644 --- a/lib/libc/include/sys/syscall.h +++ b/lib/libc/include/sys/syscall.h @@ -43,6 +43,7 @@ #define SYS_mmap 7 #define SYS_munmap 8 #define SYS_ioctl 9 +#define SYS_execv 10 #define SYS_mount 11 #if !defined(__ASSEMBLER__) diff --git a/lib/libc/include/unistd.h b/lib/libc/include/unistd.h index f82c83a..c38ffa3 100644 --- a/lib/libc/include/unistd.h +++ b/lib/libc/include/unistd.h @@ -43,6 +43,7 @@ _Noreturn void _exit(int status); ssize_t write(int fd, const void *buf, size_t count); ssize_t read(int fd, void *buf, size_t count); int close(int fd); +int execv(const char *pathname, char *const argv[]); #if defined(__cplusplus) } |