Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

First, you're free to not use buffered IO. Second, EIO on fsync or close for buffered IO is still adjacent to the relevant file descriptor.


> adjacent to the relevant file descriptor.

So is SIGBUS: you get the address in the handler. You probably have a data structure associating the two things somewhere anyway, and if you don't you can look it up in /proc.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: