On 01.07.2014 17:30, Ben Hoyt wrote: >> No need for a microsecond-timed deletion -- a directory with +r but >> without +x will allow you to list the entries, but stat calls on the >> files will fail with EPERM: > > Ah -- very good to know, thanks. This definitely points me in the > direction of wanting better control over error handling. > > Speaking of errors, and thinking of handling errors during iteration > -- in what cases (if any) would an individual readdir fail if the > opendir succeeded? readdir(3) manpage suggests that readdir can only fail if an invalid directory fd was passed. regards, jwi > > -Ben >
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4