dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Functions | Variables
Sub-process handling
Collaboration diagram for Sub-process handling:

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
 

Detailed Description

Function Documentation

◆ subproc_fork()

pid_t subproc_fork ( void  )

References _, catch_fatal_error(), ohshite(), onerr_abort, and push_error_context_func().

Referenced by extracthalf(), pager_spawn(), path_remove_tree(), and process_archive().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ subproc_reap()

int subproc_reap ( pid_t  pid,
const char *  desc,
enum subproc_flags  flags 
)

References SUBPROC_NOCHECK.

Referenced by extracthalf(), pager_reap(), path_remove_tree(), and process_archive().

Here is the caller graph for this function:

◆ subproc_signals_cleanup()

void subproc_signals_cleanup ( int  argc,
void **  argv 
)

References array_count.

Referenced by subproc_signals_ignore().

Here is the caller graph for this function:

◆ subproc_signals_ignore()

void subproc_signals_ignore ( const char *  name)

References array_count, onerr_abort, push_cleanup(), and subproc_signals_cleanup().

Here is the call graph for this function:

◆ subproc_signals_restore()

void subproc_signals_restore ( void  )

References ehflag_normaltidy, and pop_cleanup().

Here is the call graph for this function:

Variable Documentation

◆ subproc_flags

enum DPKG_ATTR_ENUM_FLAGS subproc_flags