Added a stub for environ(3).

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-05 13:20:37 +01:00
parent 25b33b4755
commit bc38dc5127
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ namespace Maxsi
DEFN_SYSCALL0(pid_t, SysGetParentPID, SYSCALL_GETPPID);
DEFN_SYSCALL3(pid_t, SysWait, SYSCALL_WAIT, pid_t, int*, int);
extern "C" char** environ = NULL;
void Abort()
{
// TODO: Send SIGABRT instead!