I would like to check the existance of a directory. I recive just "yes" even though the directory doesn't exists. what should I do? Thank you very much!
int main()
{
if(opendir("dsfdsgfdsgrs") == NULL)
printf("%s","no");
else
printf("%s","yes");
return 0;
}