Re: [cc65] C64 POSIX dirent stuff actually working?

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-08-05 14:11:37
Hi,

I need your help!

I still have the same experience I described before. On the C64 the
short program below only delivers the disk label but no file entries -
while running fine on the Apple II.

Therefore I'd really appreciate if anybody could get the recent
snaphot (currently 2.13.9.20120802-1), build the source code below,
run it an tell me his results. I'm building with a cmdline as simple
as 'cl65 -t c64 test.c'.

Many thanks in advance for your assistance,
Oliver

====================
#include <stdio.h>
#include <dirent.h>

void main(void)
{
    DIR* dir;
    struct dirent* ent;

    dir = opendir(".");
    while (ent = readdir(dir)) {
        printf("%s\n", ent->d_name);
    }
    closedir(dir);
}
====================
----------------------------------------------------------------------
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 Aug 5 14:11:50 2012

This archive was generated by hypermail 2.1.8 : 2012-08-05 14:11:54 CEST