From: Jason A. Donenfeld Date: Wed, 20 Mar 2013 19:44:20 +0000 (+0100) Subject: html: check return value of write X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/6d7e3596ebb387265d8cfdc5b312e0ea76da8c8a?ds=inline;hp=6d7e3596ebb387265d8cfdc5b312e0ea76da8c8a html: check return value of write This squelches a gcc warning. It's also correct that we check to see if there are any partial or failed writes. For now, we just print a warning to stderr. In the future, perhaps it will prove wise to exit(1) on partial writes. ---