U
upendrao
Hi
I have a problem with fopen function call. fopen could not
differentiate between a valid file path and a valid directory path. In
both cases it returns a non-NULL file descriptor value. Is there any
way in GNU C library to differentiate between a valid file name and
directory name?
I have a problem with fopen function call. fopen could not
differentiate between a valid file path and a valid directory path. In
both cases it returns a non-NULL file descriptor value. Is there any
way in GNU C library to differentiate between a valid file name and
directory name?