Re: [cc65] CBM POSIX I/O - USR Files

From: Marc 'BlackJack Rintsch <marc1rintsch.de>
Date: 2010-03-29 16:33:54
On Monday 29 March 2010, Groepaz wrote:
> [snip]
> is it really so that fopen will open a file purely based on the name?
> i somehow doubt it (that'd be a bug in my book too, what if there
> exist two files with different type but same name - which is entire
> possible and perfectly fine for cbm dos ?)

Just tested it::

  open 2,8,2,"test,s,w"
  close 2

And then::

  open 2,8,2,"test,u,w"

This gives an ``63, FILE EXISTS, 00, 00``.

Ciao,
	Marc 'BlackJack' Rintsch
-- 
“Finding a needle in a haystack is a lot easier if you burn down
 the haystack and scan the ashes with a metal detector.”
                                    -- the Silicon Valley Tarot

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Mar 29 16:32:47 2010

This archive was generated by hypermail 2.1.8 : 2010-03-29 16:32:49 CEST