3 ms·
Oddly enough, POSIX does not state that opendir and readdir can return EINTR ;) - though I'm sure this must be an oversight? I doubt this is possible to guarant
by tom_ 6y ago
Oddly enough, POSIX does not state that opendir and readdir can return EINTR ;) - though I'm sure this must be an oversight? I doubt this is possible to guarantee in practice:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/opendir.html https://pubs.opengroup.org/onlinepubs/9699919799/functions/o...
https://pubs.opengroup.org/onlinepubs/9699919799/functions/readdir.html https://pubs.opengroup.org/onlinepubs/9699919799/functions/r...
closedir may:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/closedir.html https://pubs.opengroup.org/onlinepubs/9699919799/functions/c...