News for hackers. Stuff that matters.
Re:Principles for C programming by makapuf on Thursday March 16, 2017 @04:03AM (#13883329)
indeed, it's just a naive example but wouldn't something like

    int written = write(STDOUT_FILENO, toWrite, len);
    if (written != len) 
        { ...
be simpler ?

There are no comments on this comment yet.