NAME

Signal::Info - A wrapper around siginfo_t

VERSION

version 0.001

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.

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.