Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> perl >> libsys-sigaction-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libsys-sigaction-perl  ]

套件: libsys-sigaction-perl (0.23-1)

Perl extension for consistent signal handling

Sig::SigAction 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().

其他與 libsys-sigaction-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libsys-sigaction-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 22.4 kB49 kB [文件列表]