line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyrights 2011-2020 by [Mark Overmeer]. |
2
|
|
|
|
|
|
|
# For other contributors see ChangeLog. |
3
|
|
|
|
|
|
|
# See the manual pages for details on the licensing terms. |
4
|
|
|
|
|
|
|
# Pod stripped from pm file by OODoc 2.02. |
5
|
|
|
|
|
|
|
# This code is part of distribution POSIX-1003. Meta-POD processed with |
6
|
|
|
|
|
|
|
# OODoc into POD and HTML manual-pages. See README.md |
7
|
|
|
|
|
|
|
# Copyright Mark Overmeer. Licensed under the same terms as Perl itself. |
8
|
|
|
|
|
|
|
|
9
|
3
|
|
|
3
|
|
1176
|
use warnings; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
101
|
|
10
|
3
|
|
|
3
|
|
13
|
use strict; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
71
|
|
11
|
|
|
|
|
|
|
|
12
|
3
|
|
|
3
|
|
12
|
no warnings 'redefine', 'prototype'; # during release of distribution |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
273
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub POSIX::SigAction::new |
17
|
16
|
|
|
16
|
1
|
6464
|
{ my $class = shift; |
18
|
16
|
|
100
|
|
|
138
|
bless {HANDLER => $_[0], MASK => $_[1], FLAGS => $_[2] || 0, SAFE => 0}, |
19
|
|
|
|
|
|
|
$class; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
#--------------------------- |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# We cannot use a "package" statement, because it confuses CPAN: the |
25
|
|
|
|
|
|
|
# namespace is assigned to the perl core distribution. |
26
|
3
|
|
|
3
|
|
18
|
no warnings 'redefine'; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
699
|
|
27
|
|
|
|
|
|
|
sub POSIX::SigAction::handler($;$) |
28
|
0
|
0
|
|
0
|
1
|
0
|
{ $_[0]->{HANDLER} = $_[1] if @_ > 1; $_[0]->{HANDLER} } |
|
0
|
|
|
|
|
0
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub POSIX::SigAction::mask($;$) |
31
|
0
|
0
|
|
0
|
1
|
0
|
{ $_[0]->{MASK} = $_[1] if @_ > 1; $_[0]->{MASK} } |
|
0
|
|
|
|
|
0
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub POSIX::SigAction::flags($;$) |
34
|
0
|
0
|
|
0
|
1
|
0
|
{ $_[0]->{FLAGS} = $_[1] if @_ > 1; $_[0]->{FLAGS} } |
|
0
|
|
|
|
|
0
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub POSIX::SigAction::safe($;$) |
37
|
4
|
100
|
|
4
|
1
|
29
|
{ $_[0]->{SAFE} = $_[1] if @_ > 1; $_[0]->{SAFE} } |
|
4
|
|
|
|
|
18
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
1; |