Two new ways to read a file quickly
Two new ways to read a file quickly
Posted Mar 9, 2020 15:29 UTC (Mon) by mathstuf (subscriber, #69389)In reply to: Two new ways to read a file quickly by walters
Parent article: Two new ways to read a file quickly
I think any app or library expecting stat to have trustworthy information at read time without some safety net is already a disaster waiting to happen (especially if they're in the /proc hierarchy; the file could fail to *open* after stat returns because the process exited in the meantime).