X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/f13e160f6aa2f74895ecf1f65099265643836210..986ce23ace2f7875a1a561bd947f435a7594146c:/lunaix-os/usr/api/unistd.c diff --git a/lunaix-os/usr/api/unistd.c b/lunaix-os/usr/api/unistd.c index bd7cb24..088c335 100644 --- a/lunaix-os/usr/api/unistd.c +++ b/lunaix-os/usr/api/unistd.c @@ -1,11 +1,11 @@ #include -#include +#include __LXSYSCALL(pid_t, fork) -__LXSYSCALL1(int, sbrk, void*, addr) +__LXSYSCALL1(int, brk, void*, addr) -__LXSYSCALL1(void*, brk, unsigned long, size) +__LXSYSCALL1(void*, sbrk, ssize_t, size) __LXSYSCALL(pid_t, getpid) @@ -114,4 +114,13 @@ __LXSYSCALL4(int, __LXSYSCALL2(int, unlinkat, int, fd, const char*, pathname) -__LXSYSCALL1(int, mkdir, const char*, path) \ No newline at end of file +__LXSYSCALL1(int, mkdir, const char*, path) + +__LXSYSCALL3(int, + execve, + const char*, + filename, + const char**, + argv, + const char**, + envp) \ No newline at end of file