ASM allowed in Fortran? and OpenDir?
Janne Blomqvist
blomqvist.janne@gmail.com
Wed Aug 8 17:46:00 GMT 2007
On 8/8/07, Walter Spector <w6ws@earthlink.net> wrote:
> The dirid is a 'directory stream' number - which is returned by the
> OS for use by (pxf)readdir. When finished, the stream can then be
> recycled via (pxf)closedir. It should be some small ordinal - similar
> to how the POSIX file descriptors work.
Ah, ok. I assumed it was an alias for dirent->d_ino (in which case
numbers bigger than 2**31 are not completely out of the question). Is
there an internal dirid allocator in the library, or is there some
POSIX api for getting it? I see there is dirfd(), but that is not part
of POSIX.
--
Janne Blomqvist
More information about the Fortran
mailing list