P
Paolini
compiling this using
gcc -o xxx xxx.c
I obtain this error message in function Main
6 storage size of 'ff' isn't known
Can any help me ?
#include <stdio.h>
#include <sys/dir.h>
int main (int argc, char* argv[])
{
struct ffblk ff;
int rc;
rc = findfirst ("*.*", &ff, ~0);
while (rc)
{
printf ("%s\n", ff.fa_name);
rc = findnext (&ff);
}
return 0;
}
gcc -o xxx xxx.c
I obtain this error message in function Main
6 storage size of 'ff' isn't known
Can any help me ?
#include <stdio.h>
#include <sys/dir.h>
int main (int argc, char* argv[])
{
struct ffblk ff;
int rc;
rc = findfirst ("*.*", &ff, ~0);
while (rc)
{
printf ("%s\n", ff.fa_name);
rc = findnext (&ff);
}
return 0;
}