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:
parent
dc52242e5a
commit
4f37291fc0
1 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue