Re: [cc65] Filenames for POSIX functins on CBM targets

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-08-11 17:31:33
Hi,

Some details I'd like to understand...

1.
Is it possible to pass a pure filename to a device? The reason I'm
asking is that the cc65 C lib prepends a "0:" to every filename that
doesn't already have "<num>:" prefix. Or is there another obvious ;-)
reason why this is done?

2.
The C library explicitly looks for "0:" or "1:" but no higher driver
numbers. Where does this restriction stem from? Is this restriction
useful / necessary / desirable?

3.
In this thread there were several filename examples given containing
an '@' char. Those are currently not recognized by the C library. So
the qeustion is what the '@' does and if it is relevant for POSIX i/o
scenarios - meaning the C library possibly needs to be fixed.

Thanks in advance for hints/answers,
Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Aug 11 17:32:13 2012

This archive was generated by hypermail 2.1.8 : 2012-08-11 17:32:16 CEST