🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.computers.apollo
Article #332

Re: A quick question about NAME_$READ_DIR

#332
From: mishkin
Date: Fri, 23 Jan 1987 15:03
17 lines
1305 bytes
    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.

-------
Technical Details
Message-ID: <8701232001.AA21890@EDDIE.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ucbvax!mishkin@EDDIE.MIT.EDU@apollo.UUCP

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ucbvax!mishkin@EDDIE.MIT.EDU@apollo.UUCP
From: mishkin@EDDIE.MIT.EDU@apollo.UUCP
Newsgroups: mod.computers.apollo
Subject: Re: A quick question about NAME_$READ_DIR
Message-ID: <8701232001.AA21890@EDDIE.MIT.EDU>
Date: Fri, 23-Jan-87 10:03:25 EST
Article-I.D.: EDDIE.8701232001.AA21890
Posted: Fri Jan 23 10:03:25 1987
Date-Received: Sat, 24-Jan-87 06:24:52 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 17
Approved: apollo@yale-comix.arpa