Add a prototype for rfork_thread().
pid_t rfork_thread(int forkflags, void *stack, int (*func)(void *arg), void *arg); A new process is created, presumably using RFMEM shared address space. The child process switches to the supplied stack, which is set up with a function call frame. The function is called with the supplied arguement. If the function returns, the return value will be used with _exit(2).
This commit is contained in:
parent
509e3bd402
commit
c749b2743d
@ -174,6 +174,7 @@ int readlink __P((const char *, char *, int));
|
||||
int reboot __P((int));
|
||||
int revoke __P((const char *));
|
||||
pid_t rfork __P((int));
|
||||
pid_t rfork_thread __P((int, void *, int (*) __P((void *)), void *));
|
||||
int rresvport __P((int *));
|
||||
int rresvport_af __P((int *, int));
|
||||
int ruserok __P((const char *, int, const char *, const char *));
|
||||
|
Loading…
x
Reference in New Issue
Block a user