Re: [cc65] Common macros for dirent.d_type

From: Ullrich von Bassewitz <>
Date: 2012-06-24 16:28:32

On Sun, Jun 03, 2012 at 09:33:29PM +0200, Oliver Schmidt wrote:
> > So I would suppose test macros, like the ones used for stat():
> I like that idea :-)

Ok, I've added 

_DE_ISREG(t), _DE_ISDIR(t), _DE_ISLBL(t) and _DE_ISLNK(t)

for the CBMs. They're documented in funcref.sgml. Implementations for other
platforms are currently missing, so anybody maintaining a platform that has
dirent.d_type, please go ahead :-)



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Jun 24 16:28:43 2012

This archive was generated by hypermail 2.1.8 : 2012-06-24 16:28:46 CEST