Subject: Re: ignoring return values from functions.
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: Curt Sampson <cjs@cynic.net>
List: tech-userlevel
Date: 09/21/2001 14:03:17
On Thu, 20 Sep 2001, Greg A. Woods wrote:

> Indeed I try to explicitly fclose(stdout) before
> exiting in any filter program that generally writes only to stdout, and
> of course to check the error return from that close.)

So if there's an error with that close, you then print the error to
stderr? If you've used stderr at all in your program, do you always
also attempt to close it and check the close? If that close fails,
what do you do?

Just curious.

cjs
-- 
Curt Sampson  <cjs@cynic.net>   +81 3 5778 0123   http://www.netbsd.org
    Don't you know, in this new Dark Age, we're all light.  --XTC