Re: [cc65] Common macros for dirent.d_type

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-06-25 13:55:56
Hi Karri,


>
> The d_type field is just a filler to make a directory entry 8 bytes. It
> can contain anything. Usually it is zero. A creative programmer can use
> this byte for something.
>

I see. From my perspective this means that there's nothing to do at all:
Code caring about cross-target needs to check for the existence of _D_ISxxx
macros anyway because if they don't exsist then the d_type field might not
exist at all. At least that's how I see it...

Just my two cents,
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 Mon Jun 25 13:56:44 2012

This archive was generated by hypermail 2.1.8 : 2012-06-25 13:56:47 CEST