News for hackers. Stuff that matters.
Re:Aaron Swartz's Thoughts on djb (2009) by svckr on Friday March 06, 2015 @05:33AM (#9156440)
From qmail/qmail-pw2u.c (linked somewhere above):

    void die_write()
    {
      substdio_putsflush(subfderr,"qmail-pw2u: fatal: unable to write output\n");
      _exit(111);
    }

    /* ... */
    if (substdio_puts(subfdout,uugh) == -1) die_write();
    if (substdio_puts(subfdout,dashcolon) == -1) die_write();
    if (substdio_put(subfdout,x,i) == -1) die_write();
    /* ... */
Re:Aaron Swartz's Thoughts on djb (2009) by chris_wot on Saturday March 07, 2015 @07:13AM (#9161662)
So what does he do when substudio_putsflush has an error?
Re:Aaron Swartz's Thoughts on djb (2009) by schoen on Monday March 09, 2015 @07:35PM (#9174875)
Well, the process will still exit unconditionally immediately afterwards, attempting to signal an error via its return code. It's hard to do better than that in the context of a real operating system.