Hello here, for the shell i'm working on i would like to search if a file exist or not in a directory. For this i can use a code like sceIopen to see what it return. But i'm sure there is a faster way to look if a file exist. I'm not really skilled so help would be cool hehe :x
Thanks in advance .
Verify if a file already exist ?
Code: Select all
if(access("blah.txt",F_OK)) file_exists();