If anyone ever asks me about the elegance of UNIX, there’s one word, or really term, that springs to mind: EINTR. The fact that man pages on modern systems still describe calls as returning -1 with errno set to EINTR baffles me.