Dear community,
i want to check if my file is opened properly for which i use:
by this i get a return value of 2, the file seems to be ok, i can write and save it like i would expect.
After searching for a while i always see, that 2 normaly is the code for “no such file or directory”.
If i provoke an error by open the file i get an error message together with the correct error code, so in principle it seems to work.
Shouldn’t i bother to much because of errno=2? Does someone know a link where these error codes are listed?
Cheers
Johannes