Optimized fdate(), fcdate(), flength(), fnameexist() functions:
There's no reason to call access() before stat() since stat() will fail (return -1) if the file does not exist.
Showing
Please register or sign in to comment
There's no reason to call access() before stat() since stat() will fail (return -1) if the file does not exist.