libamxp  1.4.0
Patterns C Implementation
_subproc_t Struct Reference

Child process information structure. More...

#include <amxp_subproc.h>

Collaboration diagram for _subproc_t:

Data Fields

amxc_llist_it_t it
 
pid_t pid
 
bool is_running
 
int fd [3][2]
 
amxp_signal_mngr_tsigmngr
 
int status
 

Detailed Description

Child process information structure.

Definition at line 87 of file amxp_subproc.h.

Field Documentation

◆ fd

int _subproc_t::fd[3][2]

fd pairs for FILENO_STDIN, FILENO_STDOUT, FILENO_STDERR, parent end (0) and child end (1)

Definition at line 91 of file amxp_subproc.h.

◆ is_running

bool _subproc_t::is_running

True if the process is currently running

Definition at line 90 of file amxp_subproc.h.

◆ it

amxc_llist_it_t _subproc_t::it

Definition at line 88 of file amxp_subproc.h.

◆ pid

pid_t _subproc_t::pid

The PID of the process

Definition at line 89 of file amxp_subproc.h.

◆ sigmngr

amxp_signal_mngr_t* _subproc_t::sigmngr

Signal manager used to emit signals specific to the launched child process. See Signal managers

Definition at line 93 of file amxp_subproc.h.

◆ status

int _subproc_t::status

Status of the child process

Definition at line 95 of file amxp_subproc.h.


The documentation for this struct was generated from the following file: