Posts Tagged ‘fork’
execve – execute program
USAGE
#include <unistd.h>
int execve(const char *filename, char *const argv[],
char *const envp[]);
DESCRIPTION
execve() executes the program [...]
daemon – run in the background
USAGE
#include <unistd.h>
int daemon(int nochdir, int noclose);
DESCRIPTION
The daemon() function is for programs wishing to detach themselves from
the controlling terminal and run in the [...]
clone, clone2 – create a child process
USAGE
#include <sched.h>
int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg);
_syscall2(int, clone, int, flags, void *, child_stack)
_syscall5(int, clone, int, flags, void [...]
