poser
A C framework for POsix SERvices
Loading...
Searching...
No Matches
PSC_EAChildExited Class Reference

Event arguments for child exited events. More...

#include <poser/core/service.h>

Public Member Functions

pid_t PSC_EAChildExited_pid (const PSC_EAChildExited *self)
 The pid of a child that exited.
 
int PSC_EAChildExited_status (const PSC_EAChildExited *self)
 The exit status of a child that exited.
 
int PSC_EAChildExited_signal (const PSC_EAChildExited *self)
 The signal that terminated the child.
 

Detailed Description

Event arguments for child exited events.

Member Function Documentation

◆ PSC_EAChildExited_pid()

pid_t PSC_EAChildExited_pid ( const PSC_EAChildExited self)

The pid of a child that exited.

Parameters
selfthe PSC_EAChildExited
Returns
the process id of the child

◆ PSC_EAChildExited_signal()

int PSC_EAChildExited_signal ( const PSC_EAChildExited self)

The signal that terminated the child.

Parameters
selfthe PSC_EAChildExited
Returns
the signal number of the signal terminating the child, or 0 if the child exited normally

◆ PSC_EAChildExited_status()

int PSC_EAChildExited_status ( const PSC_EAChildExited self)

The exit status of a child that exited.

Parameters
selfthe PSC_EAChildExited
Returns
the child's exit status, of PSC_CHILD_SIGNALED if the child was terminated by a signal

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