Hacker News new | ask | show | jobs
by TheLoneWolfling 4120 days ago
In which case the API is broken and should be fixed.

Also, what edge cases?

1 comments

For example you have to allocate a buffer to hold the information you receive. If that's too small, you miss stuff. There is also a lot of intricacy with permissions and you can mess up a lot when multithreading without knowing how to properly interact with the OS then.
Wouldn't that be worse, if anything, for the whole-drive case?