[net.micro.mac] File Manager Query

dubois@uwmacc.UUCP (Paul DuBois) (08/28/86)

Is the file reference number returned when a file is successfully
opened always non-negative?

-- 
Paul DuBois     UUCP: {allegra,ihnp4,seismo}!uwvax!uwmacc!dubois    |
                ARPA: dubois@easter                               --+--
                                                                    |
Begin at my sanctuary...                                            |
                          Ezekiel 9:6

tim@hoptoad.uucp (Tim Maroney) (09/03/86)

In article <219@uwmacc.UUCP> dubois@uwmacc.UUCP (Paul DuBois) writes:
>
>Is the file reference number returned when a file is successfully
>opened always non-negative?

Yes, the file reference number is the offset of the FCB from the beginning
of the FCB table.  However, you should not make use of this undocumented
information in order to access the FCB.  It seems very unlikely that Apple
would start using negative reference numbers, though.
-- 
Tim Maroney, Electronic Village Idiot
{ihnp4,sun,well,ptsfa,lll-crg,frog}!hoptoad!tim (uucp)
hoptoad!tim@lll-crg (arpa)

These are the official opinions of the Vatican Council of Bishops.