Date: Tue, 13 Oct 1998 17:42:48 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Robert Hoehne cc: djgpp-workers AT delorie DOT com Subject: Re: Bug in popen In-Reply-To: <361D45EE.462E13B5@gmx.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com On Thu, 8 Oct 1998, Robert Hoehne wrote: > Anywhere in the docs and also in popen.c it is documented, > that pclose returns zero for success and nonzero for failure. > But effectively pclose return in the case of success the return > value of the piped program. DJ, what exactly does Posix say about this? IIRC, the last changes in pclose were done to make it more Posix-compliant.