#include "pex-common.h"#include <stdio.h>#include <errno.h>

Go to the source code of this file.
Defines | |
| #define | waitpid(pid, status, flags) wait(status) |
| #define | VFORK_STRING "vfork" |
| #define | writeerr(s) write (STDERR_FILE_NO, s, strlen (s)) |
Functions/Subroutines | |
| int | pexecute (char *program, char *const *argv, const char *this_pname, temp_base, char **errmsg_fmt, char **errmsg_arg, int flagsarg) const |
| int | pwait (int pid, int *status, flags) |
| #define VFORK_STRING "vfork" |
Definition at line 54 of file pex-unix.c.
Referenced by pex_unix_exec_child(), and scan_prog_file().
Definition at line 48 of file pex-unix.c.
Referenced by _PXFWAITPID(), DAVINCI::cleanup(), daVinci::cleanup(), DaVinci::Kill_Davinci(), ld_compile(), pwait(), run_phase(), run_simple_program(), and KEY_SCH::Schedule_DDG().
| #define writeerr | ( | s | ) | write (STDERR_FILE_NO, s, strlen (s)) |
Referenced by pex_child_error(), and pexecute().
| int pexecute | ( | char * | program, | |
| char * const * | argv, | |||
| const char * | this_pname, | |||
| temp_base | , | |||
| char ** | errmsg_fmt, | |||
| char ** | errmsg_arg, | |||
| int | flagsarg | |||
| ) | const |
Definition at line 87 of file pex-unix.c.
References _exit(), close, dup(), errno, execv(), execvp(), flags, NULL, out, PEXECUTE_FIRST, PEXECUTE_LAST, PEXECUTE_SEARCH, pid, pipe(), READ_PORT, sleep(), STDIN_FILE_NO, STDOUT_FILE_NO, vfork, WRITE_PORT, writeerr, and xstrerror().
| int pwait | ( | int | pid, | |
| int * | status, | |||
| flags | ||||
| ) |
1.5.6