diff options
author | Zefram <zefram@fysh.org> | 2017-08-19 05:02:55 +0100 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2017-08-19 05:06:38 +0100 |
commit | f1f71a0091d3d691043f1da231e5b75df08737b6 (patch) | |
tree | 1580ae6fd1158e22877c907c956449f8dcb7206f | |
parent | 658db62260a2a680132cf1a36a3788db37a6941b (diff) | |
download | perl-f1f71a0091d3d691043f1da231e5b75df08737b6.tar.gz |
document fileno(DIRHANDLE)
This has been supported since commit
67f2cc757fdda0bee562f2f5899884d09ca382ef in Perl 5.21.7.
-rw-r--r-- | pod/perlfunc.pod | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 7574cc181e..7e0bc1fcd8 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -2661,9 +2661,12 @@ A special token that returns the name of the file in which it occurs. =item fileno FILEHANDLE X<fileno> +=item fileno DIRHANDLE + =for Pod::Functions return file descriptor from filehandle -Returns the file descriptor for a filehandle, or undefined if the +Returns the file descriptor for a filehandle or directory handle, +or undefined if the filehandle is not open. If there is no real file descriptor at the OS level, as can happen with filehandles connected to memory objects via L<C<open>|/open FILEHANDLE,EXPR> with a reference for the third |