minix/lib/syslib/sys_fork.c
Jorrit Herder 748b3dd434 Updates system library calls: interface changes (removed unused parameters).
Removed old notification trap: renamed alert() to notify() ... finally ;-)
2005-07-29 15:01:59 +00:00

14 lines
317 B
C
Executable file

#include "syslib.h"
PUBLIC int sys_fork(parent, child)
int parent; /* process doing the fork */
int child; /* which proc has been created by the fork */
{
/* A process has forked. Tell the kernel. */
message m;
m.PR_PPROC_NR = parent;
m.PR_PROC_NR = child;
return(_taskcall(SYSTASK, SYS_FORK, &m));
}