GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Signal(3) User Contributed Perl Documentation Signal(3)

IPC::Signal - Utility functions dealing with signals

    $number = sig_num $name;
    $name   = sig_name $number;
    sig_translate_setup;
    $number = $Sig_num{$name};
    $name   = $Sig_name[$number];

This module contains utility functions for dealing with signals.

Nothing is exported by default.

Returns the signal number of the signal whose name (sans "SIG") is chopped-signal-name, or undef if there is no such signal.

This function is prototyped to take a single scalar argument.

Returns the chopped signal name (like "HUP") of signal number signal-number, or undef if there is no such signal.

This function is prototyped to take a single scalar argument.

If you want to use the @Sig_name and %Sig_num variables directly you must call sig_translate_setup to initialize them. This isn't necessary if you only use the function interfaces sig_name() and sig_num().

This function is prototyped to take no arguments.

%Sig_num
A hash with chopped signal name keys (like "HUP") and integer signal number values.
@Sig_name
An array mapping signal numbers to chopped signal names (like "HUP").

Roderick Schertler <roderick@argon.org>

perl(1).

1998-10-27 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.