diff options
Diffstat (limited to 'ext/POSIX/POSIX.pod')
-rw-r--r-- | ext/POSIX/POSIX.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/POSIX/POSIX.pod b/ext/POSIX/POSIX.pod index bb3ee3af09..7263d0a62a 100644 --- a/ext/POSIX/POSIX.pod +++ b/ext/POSIX/POSIX.pod @@ -1732,13 +1732,13 @@ Setting the %SIGRT elements is equivalent to calling this: sub new { my ($rtsig, $handler, $flags) = @_; - my $sigset = POSIX:SigSet($rtsig); + my $sigset = POSIX::SigSet($rtsig); my $sigact = POSIX::SigAction->new($handler, $sigset, $flags); sigaction($rtsig, $sigact); } The flags default to zero, if you want something different you can -either use C<local> on $POSIX::RtSig::SIGACTION_FLAGS, or you can +either use C<local> on $POSIX::SigRt::SIGACTION_FLAGS, or you can derive from POSIX::SigRt and define your own C<new()> (the tied hash STORE method of the %SIGRT calls C<new($rtsig, $handler, $SIGACTION_FLAGS)>, where the $rtsig ranges from zero to SIGRTMAX - SIGRTMIN + 1). |