NAME
Signal::Info - A wrapper around siginfo_t
VERSION
version 0.002
DESCRIPTION
This class represents a POSIX siginfo_t
structure. It is typically not created by an end-user, but returned by (XS) modules.
METHODS
new
This creates a new (empty) siginfo object.
signo
The signal number.
code
The signal code.
errno
If non-zero, an errno value associated with this signal.
pid
Sending process ID.
uid
Real user ID of sending process.
status
Exit value or signal.
band
Band event for SIGPOLL.
value
Signal integer value.
ptr
Signal pointer value (as an unsigned)
addr
Address of faulting instruction.
fd
File descriptor associated with the signal. This may not be available everywhere.
timerid
Timer ID of POSIX real-time timers. This may not be available everywhere.
overrun
Timer overrun count of POSIX real-time timers. This may not be available everywhere.
CODE FLAGS
The following constants are defined for the code
field, all having their POSIX meanings.
ILL_ILLOPC
ILL_ILLOPN
ILL_ILLADR
ILL_ILLTRP
ILL_PRVOPC
ILL_PRVREG
ILL_COPROC
ILL_BADSTK
FPE_INTDIV
FPE_INTOVF
FPE_FLTDIV
FPE_FLTOVF
FPE_FLTUND
FPE_FLTRES
FPE_FLTINV
FPE_FLTSUB
SEGV_MAPERR
SEGV_ACCERR
BUS_ADRALN
BUS_ADRERR
BUS_OBJERR
TRAP_BRKPT
TRAP_TRACE
CLD_EXITED
CLD_KILLED
CLD_DUMPED
CLD_TRAPPED
CLD_STOPPED
CLD_CONTINUED
POLL_IN
POLL_OUT
POLL_MSG
POLL_ERR
POLL_PRI
POLL_HUP
SI_USER
SI_QUEUE
SI_TIMER
SI_ASYNCIO
SI_MESGQ
AUTHOR
Leon Timmermans <fawaka@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2025 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.