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 [...]

Saturday, August 29th, 2009 at 00:48 | Comments Off
Categories: E

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 [...]

Thursday, August 27th, 2009 at 20:43 | Comments Off
Categories: D

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 [...]

Thursday, August 27th, 2009 at 00:09 | Comments Off
Categories: c
Wednesday, August 26th, 2009 at 23:58 | Comments Off
Categories: T
TOP