X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2FPOSIX%2FPOSIX.pod;h=7263d0a62a090af23befb0133824b3d772ec23a1;hb=8565c31a574ba4f7dc8cd69b66988949074e120d;hp=e99a2b17b401b3b6a58b90cc85bb684351b0b526;hpb=c1646883872c5259818f567a798ce6b27de42050;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/POSIX/POSIX.pod b/ext/POSIX/POSIX.pod index e99a2b1..7263d0a 100644 --- a/ext/POSIX/POSIX.pod +++ b/ext/POSIX/POSIX.pod @@ -1055,7 +1055,7 @@ see L. Sets the real group identifier and the effective group identifier for this process. Similar to assigning a value to the Perl's builtin -C<$)> variable, see L, except that the latter +C<$)> variable, see L, except that the latter will change only the real user identifier, and that the setgid() uses only a single numeric argument, as opposed to a space-separated list of numbers. @@ -1648,7 +1648,7 @@ calling C. $fd = POSIX::open( "foo", &POSIX::O_WRONLY ); $buf = "hello"; - $bytes = POSIX::write( $b, $buf, 5 ); + $bytes = POSIX::write( $fd, $buf, 5 ); Returns C on failure. @@ -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 on $POSIX::RtSig::SIGACTION_FLAGS, or you can +either use C on $POSIX::SigRt::SIGACTION_FLAGS, or you can derive from POSIX::SigRt and define your own C (the tied hash STORE method of the %SIGRT calls C, where the $rtsig ranges from zero to SIGRTMAX - SIGRTMIN + 1).