logoalt Hacker News

Falcondoryesterday at 9:59 PM1 replyview on HN

mmap on file io errors would manifest in Signals (For example SIGBUS or SIGSEGV).

So if you wanted to handle file read/write errors you would need to implement signal handlers.

https://stackoverflow.com/questions/6791415/how-do-memory-ma...


Replies

koakuma-chanyesterday at 10:03 PM

... which is not great for an API.