Function, Parameter(s), Return Value | Description |
---|---|
fork() | function name |
none | n/a |
Returns PID, 0, or -1 | The calling process receives the PID of the newly create process or -1 on failure. The child (the newly created process) receive 0. In case of failure set errno to either EAGAIN or ENOMEM |
- | - |
execv() | function name |
const char *path | String containing name of to executable (might inlcude path) |
char *const argv[] | Array of string pointer as arguments |
Returns -1 on failure | On success this function does not return. |
- | - |