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

From: Kajtár Zsolt <kajtarzsolt1googlemail.com>
Date: 2012-08-10 18:57:31
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



2012-08-10 18:41 keltezéssel,
> On Friday 10 August 2012, you wrote:
>>>> open("8#0:name", ...
>>>> 
>>>> Could open "name" on drive 0 on unit 8. And you could even ignore
>>>> the drive number in the libc, as it is parsed by the drive itself.
>>>> Sorry if I have missed this part.
>>> 
>>> what if i want to create a file with the special name "#" on the
>>> disk?
>>> 
>>> :)
>> 
>> Nothing special, just write "8#0:#".
> 
> what if i want to create it on the "current drive" ?

Just write ":#". Current drive, current unit.

- -- 
						    -soci-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlAlPXcACgkQyBOVYiJltRZ7RwCfQiv1jFHABQyoEEmvsKSOOB7Y
DS4An2WMngLZ8g+cKF3gCB7oO3PnIfVF
=Nx91
-----END PGP SIGNATURE-----
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Aug 10 18:58:05 2012

This archive was generated by hypermail 2.1.8 : 2012-08-10 18:58:08 CEST