This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #123264] explicitly document the return value of sysopen
authorTony Cook <tony@develop-help.com>
Wed, 17 Jun 2015 00:55:19 +0000 (10:55 +1000)
committerTony Cook <tony@develop-help.com>
Wed, 17 Jun 2015 00:55:19 +0000 (10:55 +1000)
pod/perlfunc.pod

index b2c8bb6..650ad0e 100644 (file)
@@ -7957,6 +7957,8 @@ filehandle wanted; an undefined scalar will be suitably autovivified.  This
 function calls the underlying operating system's I<open>(2) function with the
 parameters FILENAME, MODE, and PERMS.
 
+Returns true on success and C<undef> otherwise.
+
 The possible values and flag bits of the MODE parameter are
 system-dependent; they are available via the standard module C<Fcntl>.  See
 the documentation of your operating system's I<open>(2) syscall to see