cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit f7f0a1c3241640bccb5a2e07241b69f2331cca87
parent d255fe4bb7af54cbfc0388c5d21ac0c2e2df0634
Author: Michael Forney <mforney@mforney.org>
Date:   Sat, 23 Feb 2019 19:35:16 -0800

Check for any write errors

Diffstat:
Mmain.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/main.c b/main.c @@ -57,5 +57,8 @@ main(int argc, char *argv[]) emittentativedefns(); } + fflush(stdout); + if (ferror(stdout)) + fatal("write failed"); return 0; }