sigaction

Overview

Related Modules:

IPC

Description:

Defines the signal processing actions and related attributes. You can use the structures to change the processing actions or attributes.

Describes the signal processing actions and related attributes.

Summary

Data Fields

Variable Name

Description

  

union {

  

   __sighandler_t   _sa_handler

  

   void(   _sa_sigaction )(int, struct siginfo , void )

_u

sa_mask

sigset_t 

sa_flags

unsigned long 

sa_flags

int 

sa_handler )(int)

void( 

sa_sigaction )(int, siginfo_t , void )

void(* 

Details

Field Documentation

_sa_handler

  1. __sighandler_t sigaction::_sa_handler

Description:

Callback for the processing action

_sa_sigaction

  1. void(* sigaction::_sa_sigaction) (int, struct siginfo *, void *)

Description:

Callback with signal information for processing actions

_u

  1. union { ... } sigaction::_u

Description:

Defines the callbacks for signal processing. You can use either of them based on the specific scenario.

sa_flags [1/2]

  1. unsigned long sigaction::sa_flags

Description:

Signal flag. Only SA_SIGINFO is supported.

sa_flags [2/2]

  1. int sigaction::sa_flags

Description:

Signal flag, which is not supported

sa_handler

  1. void(* sigaction::sa_handler) (int)

Description:

Signal callback function type and callback for the processing action

sa_mask

  1. sigset_t sigaction::sa_mask

Description:

Signal to be masked

sa_sigaction

  1. void(* sigaction::sa_sigaction) (int, siginfo_t *, void *)

Description:

Signal callback function type, which is not supported