Defines | |
#define | PIPE(filedes_array) pipe(filedes_array) |
#define | WAIT(pid, status) waitpid(pid, &status, 0) |
#define | KILL_FAILED(pid) kill(pid, SIGKILL) < 0 |
#define | FREE_PROC_TABLE_CELL(pid) |
#define | PIPE_TO_PROC_FAILED -1 |
#define | PIPE_FROM_PROC_FAILED -2 |
#define | SUB_PROC_FAILED -3 |
#define | MAX_SUBPROC_PARAMS 50 |
#define | MAX_SUBPROC_NUMBER 40 |
#define | RUNNING 1 |
#define | STOPPED 2 |
#define | EXITED_NORMALLY 3 |
#define | EXITED_ABNORMALLY 4 |
#define | ABORTED 5 |
#define | INVALID 6 |
#define | UNKNOWN 7 |
Functions | |
int | fileno (FILE *f) |
FILE * | fdopen (int fildes, const char *type) |
int | kill (pid_t pid, int sig) |
|
|
|
|
|
|
|
Value: ((pid < 0) \ || ((process_status(pid) != RUNNING) \ && (process_status(pid) != STOPPED))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|