This is an old revision of the document!
Where are my SDK generated files
I cannot find /tmp/myfile
which is generated with SDK. Where is it?
See /mnt/sdk/tmp/myfile
.
How can I get the file size?
int filesize(string file) {
fd=fopen(file,"r");
if (fd) {
fseek(fd,-1);
size=ftell(fd);
fclose(fd);
return size;
} else {
return -1;
}
}