LibC: add stubs for a lot of functions

This commit is contained in:
2023-04-05 23:58:40 +03:00
parent 12351d5cb6
commit e760bafeeb
9 changed files with 269 additions and 29 deletions

26
libc/unistd.cpp Normal file
View File

@@ -0,0 +1,26 @@
#include <unistd.h>
pid_t fork(void)
{
return -1;
}
int execv(const char*, char* const[])
{
return -1;
}
int execve(const char*, char* const[], char* const[])
{
return -1;
}
int execvp(const char*, char* const[])
{
return -1;
}
pid_t getpid(void)
{
return -1;
}