BSD Ports

sysutils/p5-Sys-SigAction 0.23nb9 NetBSD

Perl extension for Consistent Signal Handling

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
sysutils, perl5
Package size
12.5 KiB, 35.7 KiB installed

Description

This module implements set_sig_handler(), which sets up a signal handler and (optionally) returns an object which causes the signal handler to be reset to the previous value, when it goes out of scope.

Also implemented is timeout_call() which takes a timeout value and a code reference, and executes the code reference wrapped with an alarm timeout.

Finally, two convenience routines are defined which allow one to get the signal name from the number -- sig_name(), and get the signal number from the name -- sig_number().

In the other systems

SystemPortVersion
NetBSDsysutils/p5-Sys-SigAction0.23nb9
FreeBSDdevel/p5-Sys-SigAction0.24
OpenBSDdevel/p5-Sys-SigAction0.24
DragonFlydevel/p5-Sys-SigAction0.24
HardenedBSDdevel/p5-Sys-SigAction0.24
GhostBSDdevel/p5-Sys-SigAction0.24

Install

Binary package:

pkgin install p5-Sys-SigAction

From pkgsrc:

cd /usr/pkgsrc/sysutils/p5-Sys-SigAction && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.23nb9
NetBSD 10.1 aarch640.23nb8
SmartOS / illumos x86_640.23nb9
macOS 15 arm640.23nb9

Dependencies

Run dependencies 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0