This file is indexed.

/usr/lib/iraf/unix/os/doc/zgfdir.hlp is in iraf-dev 2.16.1+2018.03.10-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.help zgfdir May84 "System Interface"
.ih
NAME
zgfdir -- get next filename from a directory
.ih
SYNOPSIS
.nf
zgfdir (chan, osfn, maxch, status)

int	chan			# OS channel of directory file
packed	char osfn[maxch]	# output filename
int	maxch, status
.fi
.ih
DESCRIPTION
The next machine dependent filename is returned from the directory file
connected to \fIchan\fR.  Filenames are not returned in any particular order.
The filename is returned as an EOS delimited packed string with no newline.
.ih
RETURN VALUE
The number of characters in the filename excluding the EOS delimiter is
returned for a successful read.  EOF is returned when the directory is
exhausted.  ERR is returned if there is something wrong with \fIchan\fR,
if a read error occurs, or if the output string overflows.
.ih
NOTES
Although this primitive returns simple, raw host filenames, it will not
necessarily return all of the filenames in a directory.  On a UNIX system
for example, filenames which begin with the character "." are skipped over
when reading from a directory.  On a VMS system only the most recent version
of a file should be returned (with the version label stripped).  The kernel
may employ hidden files for special purposes; normally these should be
hidden from the high level code and from the user.
.ih
SEE ALSO
zopdir, zcldir, zfinfo, zfacss
.endhelp