krowitz@EDDIE.MIT.EDU@ernie.UUCP (David Krowitz) (01/23/87)
My copy of the System Call Reference manual states that the
NAME_$READ_DIR call returns a status value of either STATUS_$OK
or NAME_$NO_MORE_ENTRIES (if the end of the directory has been
reached). The SR9.2.6 insert file /SYS/INS/NAME.INS.PAS does not
define the constant NAME_$NO_MORE_ENTRIES. Any hints as to what
status code is the one which is actually returned?
-- David Krowitz
mit-erl!mit-kermit!krowitz@eddie.mit.edu
mit-erl!mit-kermit!krowitz@mit-eddie.arpa
david@mit-mc.arpamishkin@EDDIE.MIT.EDU@apollo.UUCP (01/23/87)
My copy of the System Call Reference manual states that the
NAME_$READ_DIR call returns a status value of either STATUS_$OK or
NAME_$NO_MORE_ENTRIES (if the end of the directory has been reached).
The SR9.2.6 insert file /SYS/INS/NAME.INS.PAS does not define the
constant NAME_$NO_MORE_ENTRIES. Any hints as to what status code
is the one which is actually returned?
The documentation is in error. (The error is known already and the next
version of the documentation will be fixed.) The actual behavior is
that you know there are no more entries when the returned entry count
(output parameter) is zero.
-- Nat Mishkin
Apollo Computer Inc.
-------ers%UUCP@YALE.ARPA@apollo.UUCP (Eric Shienbrood) (01/23/87)
The manual is incorrect. name_$read_dir returns a count of zero and
a status of status_$ok when there are no more entires.
--Eric Shienbrood
-------