summaryrefslogtreecommitdiff
path: root/pod/perlport.pod
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2001-08-07 15:01:53 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2001-08-08 00:12:00 +0000
commit9bc98430000a3b57b51afb7c5f241b547d6d6d1c (patch)
tree81e20e9b6d4b3a0b2ebed7cd8d84e77574fb124f /pod/perlport.pod
parent41eb6b36e385ed791b3b189b60f2d568bb6c684f (diff)
downloadperl-9bc98430000a3b57b51afb7c5f241b547d6d6d1c.tar.gz
better VMS docs for $?, exit(), and system()
Message-Id: <5.1.0.14.0.20010807155648.01ba3c98@exchi01> p4raw-id: //depot/perl@11610
Diffstat (limited to 'pod/perlport.pod')
-rw-r--r--pod/perlport.pod16
1 files changed, 16 insertions, 0 deletions
diff --git a/pod/perlport.pod b/pod/perlport.pod
index 7a7fd49b55..1414b26afc 100644
--- a/pod/perlport.pod
+++ b/pod/perlport.pod
@@ -1527,6 +1527,17 @@ Not implemented. (S<Mac OS>, Win32, Plan9)
Not implemented. (Plan9, Win32)
+=item exit EXPR
+
+=item exit
+
+Emulates UNIX exit() (which considers C<exit 1> to indicate an error) by
+mapping the C<1> to SS$_ABORT (C<44>). This behavior may be overridden
+with the pragma C<use vmsish 'exit'>. As with the CRTL's exit()
+function, C<exit 0> is also mapped to an exit status of SS$_NORMAL
+(C<1>); this mapping cannot be overridden. Any other argument to exit()
+is used directly as Perl's exit status. (VMS)
+
=item getsockopt SOCKET,LEVEL,OPTNAME
Not implemented. (S<Mac OS>, Plan9)
@@ -1737,6 +1748,11 @@ first token in its argument string. Handles basic redirection
Does not automatically flush output handles on some platforms.
(SunOS, Solaris, HP-UX)
+The return value is POSIX-like (shifted up by 8 bits), which only allows
+room for a made-up value derived from the severity bits of the native
+32-bit condition code (unless overridden by C<use vmsish 'status'>).
+For more details see L<perlvms/$?>. (VMS)
+
=item times
Only the first entry returned is nonzero. (S<Mac OS>)