1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

add dummy implementation of sys_fork, sys_wait and sys_execve

This commit is contained in:
Stefan Lankes 2015-12-31 09:40:14 +01:00
parent dc52242e5a
commit 4f37291fc0

View file

@ -538,6 +538,21 @@ int sys_stat(const char* file, /*struct stat *st*/ void* st)
return -ENOSYS;
}
int sys_fork(void)
{
return -ENOSYS;
}
int sys_wait(int* status)
{
return -ENOSYS;
}
int sys_execve(const char* name, char * const * argv, char * const * env)
{
return -ENOSYS;
}
static int default_handler(void)
{
#if 1