Main index | Section 3 | Options |
#include <unistd.h>
The rfork_thread() function is a helper function for rfork(2). It arranges for a new process to be created and the child process will call the specified function with the specified argument, while running on the supplied stack.
Using this function should avoid the need to implement complex stack swap code.
The child process context is not aware of a return from the rfork_thread() function as it begins executing directly with the supplied function.
RFORK_THREAD (3) | February 6, 2011 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | A computer would deserve to be called intelligent if it could deceive a human into believing that it was human. | ” |
— Alan Turing |