www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/10/13/10:43:13

Date: Tue, 13 Oct 1998 17:42:48 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Bug in popen
In-Reply-To: <361D45EE.462E13B5@gmx.net>
Message-ID: <Pine.SUN.3.91.981013174224.4278C-100000@is>
MIME-Version: 1.0
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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019