Re: [cc65] Common macros for dirent.d_type (was: Need to pass drive number in addition to device number to cbm_opendir)

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-06-03 21:33:29
Hi Uz,

> Currently the disc header is skipped.

I was looking only quickly at the code and didn't find that - so I
presumed it wasn't that way...

> It's not as easy for the CBM machines, because there is more than one type of
> regular file, and merging this info into one constant will loose information.

I see.

> So I would suppose test macros, like the ones used for stat():

I like that idea :-)

> The disadvantage is that they may not be used in a switch
> statement or similar.

I would be willing to live with that disadvantage.

Regards,
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 Sun Jun 3 21:33:39 2012

This archive was generated by hypermail 2.1.8 : 2012-06-03 21:33:42 CEST