Code: Select all
struct stat st ;
char* filePath = "/sdcard/myFile.txt";
stat(filePath, &st);
It's always zero
I even get a warning about the proper type to print at compilation and I have to cast it to unsigned long
But it's always Zero .. what am I missing ?
Thanks in advance