PRMs do state os_f should be 32-bits

Tony van der Hoff OSLib at mk-net.demon.co.uk
Fri Apr 7 14:24:24 BST 2000


On Fri, 7 Apr 2000, at 13:43:24, Stewart Brodie
<stewart.brodie at pace.co.uk> wrote on the subject "PRMs do state os_f
should be 32-bits":

>In message <CeGp$MA1Tc74Ewhn at mk-net.demon.co.uk>
>          Tony van der Hoff <tony at mk-net.demon.co.uk> wrote:
>
>> Nowhere do the PRMs specify a 32-bit file handle
>
>This is incorrect.  

<Snip references>

Oh, yes. I stand corrected. I never thought to look there :-(

Thanks for putting me straight.
>
>From that, it follows that any filing system currently written to link
>against OSLib is faulty if it uses os_f to represent the value coming into
>the FSEntry_Open entry point in R3 (although the fault will not be triggered
>unless FileSwitch issues filehandles out of the range 1-255)
>
Yep, but we knew that, anyway. That is why os_f is now deprecated, and
os_fw provided as the 'correct' interface. That's the way we've chosen
to resolve it; I believe it's marginally better than the other way (even
though it involved me in a lot of work :-)

-- 
Tony van der Hoff         |  Mailto:tony at mk-net.demon.co.uk
                          |  Mailto:avanderhoff at iee.org
Buckinghamshire, England  |  http:www.mk-net.demon.co.uk



More information about the oslib-team mailing list