dpkg 1.22.7-3-g89f48
|
Go to the source code of this file.
Functions | |
void | subproc_signals_ignore (const char *name) |
void | subproc_signals_cleanup (int argc, void **argv) |
void | subproc_signals_restore (void) |
pid_t | subproc_fork (void) |
int | subproc_reap (pid_t pid, const char *desc, enum subproc_flags flags) |
Variables | |
enum DPKG_ATTR_ENUM_FLAGS | subproc_flags |
SUBPROC_NORMAL = 0 | |
Default subprocess flags. | |
SUBPROC_WARN = DPKG_BIT(0) | |
Emit a warning instead of an error. | |
SUBPROC_NOPIPE = DPKG_BIT(1) | |
Ignore SIGPIPE, and make it return 0. | |
SUBPROC_NOCHECK = DPKG_BIT(2) | |
Do not check the subprocess status. | |
SUBPROC_RETERROR = DPKG_BIT(3) | |
Do not emit errors, just return the exit status. | |
SUBPROC_RETSIGNO = DPKG_BIT(3) | |
Do not emit errors, just return the signal number. | |
SUBPROC_NOCHECK = DPKG_BIT(2) |
Do not check the subprocess status.
Referenced by subproc_reap().
SUBPROC_NOPIPE = DPKG_BIT(1) |
Ignore SIGPIPE, and make it return 0.
Referenced by extracthalf(), pager_reap(), and process_archive().
SUBPROC_NORMAL = 0 |
Default subprocess flags.
SUBPROC_RETERROR = DPKG_BIT(3) |
Do not emit errors, just return the exit status.
SUBPROC_RETSIGNO = DPKG_BIT(3) |
Do not emit errors, just return the signal number.
SUBPROC_WARN = DPKG_BIT(0) |
Emit a warning instead of an error.
Referenced by maintscript_fallback().