posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
siginfo_t Struct Reference

Information associated with a received signal. More...

#include <zephyr/posix/posix_signal.h>

Collaboration diagram for siginfo_t:

Data Fields

void * si_addr
 Address of the faulting instruction (SIGILL, SIGFPE, SIGSEGV, SIGBUS).
 
long si_band
 Band event number for SIGPOLL (XSI streams).
 
union sigval si_value
 Signal value (real-time signals).
 
pid_t si_pid
 Sending process ID.
 
uid_t si_uid
 Real UID of the sending process.
 
int si_signo
 Signal number.
 
int si_code
 Signal code (reason the signal was generated).
 
int si_errno
 errno value associated with this signal, or 0.
 
int si_status
 Exit value or signal (SIGCHLD).
 

Detailed Description

Information associated with a received signal.

Definition at line 158 of file signal.h.

Field Documentation

◆ si_addr

void* siginfo_t::si_addr

Address of the faulting instruction (SIGILL, SIGFPE, SIGSEGV, SIGBUS).

Definition at line 159 of file signal.h.

◆ si_band

long siginfo_t::si_band

Band event number for SIGPOLL (XSI streams).

Definition at line 161 of file signal.h.

◆ si_code

int siginfo_t::si_code

Signal code (reason the signal was generated).

Definition at line 167 of file signal.h.

◆ si_errno

int siginfo_t::si_errno

errno value associated with this signal, or 0.

Definition at line 169 of file signal.h.

◆ si_pid

pid_t siginfo_t::si_pid

Sending process ID.

Definition at line 164 of file signal.h.

◆ si_signo

int siginfo_t::si_signo

Signal number.

Definition at line 166 of file signal.h.

◆ si_status

int siginfo_t::si_status

Exit value or signal (SIGCHLD).

Definition at line 171 of file signal.h.

◆ si_uid

uid_t siginfo_t::si_uid

Real UID of the sending process.

Definition at line 165 of file signal.h.

◆ si_value

union sigval siginfo_t::si_value

Signal value (real-time signals).

Definition at line 163 of file signal.h.


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