I have tried all the existing solutions in stack overflow for similar questions :
Mostly it was suggested to declare _FILE_OFFSET_BITS
to 64
. But this did not work.
Sample Code :
dir = opendir("/data/system/dropbox");
if (!dir) {
PRINT_ERROR("open dir - %s failed. %s\n",
"dropbox", strerror(errno));
return -errno;
}
The following is the error(strerror(errno)
) I get when I try to open a directory (/data/system/dropbox
). I am using uClibc
>> Value too large for defined data type