From owner-freebsd-questions Mon Jul 16 14: 6:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from beta.root-servers.ch (gamma.root-servers.ch [195.49.62.126]) by hub.freebsd.org (Postfix) with SMTP id 3A5A337B40A for ; Mon, 16 Jul 2001 14:06:24 -0700 (PDT) (envelope-from gabriel_ambuehl@buz.ch) Received: (qmail 20779 invoked from network); 16 Jul 2001 21:06:23 -0000 Received: from dclient106-17.hispeed.ch (HELO athlon550) (62.2.106.17) by beta.root-servers.ch with SMTP; 16 Jul 2001 21:06:23 -0000 Date: Mon, 16 Jul 2001 23:07:11 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.53bis) Educational Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <194127057398.20010716230711@buz.ch> To: Klaus Steden Cc: questions@freebsd.org Subject: Re[2]: popen() with bidirectional pipes? In-Reply-To: <20010716160341.S73359@cthulu.compt.com> References: <64111861237.20010716185355@buz.ch> <20010716160341.S73359@cthulu.compt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hello Klaus, Monday, July 16, 2001, 10:03:41 PM, you wrote: > popen() doesn't do bi-directional communication. Pipes (in the > POSIX spec) only work in one direction. What about: Since popen() is now implemented using a bidirectional pipe, the type argument may request a bidirectional data flow. The type argument is a pointer to a null-terminated string which must be `r' for reading, `w' for writing, or `r+' for reading and writing. Best regards, Gabriel  -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i iQEVAwUBO1NJgMZa2WpymlDxAQHMjAf/cNnFPhhGxZHukhAiha1JSWnfeIvd+4WU GNBx50fSgPZr2sc5a0WbTPuzOA6jHLvoNh3RdH+YZcsGum+3vzuViTGK7yyhrFLL KPfWGz3pK88gAOXA9XzgE2svzVkU7c4apnPZxEhoMWVu4UhKLyldECYVrlEF4OPJ uSq9WOul7xVyJW0lh+mz8MZx901T+2fZbyB/m0nzCLcQcajYcWi5aZmFgqGHm1Am 6csAsNRKRmuneH/y8Vp3mzFiqCI8habxCC3Y9cGLUPr5Osk03XI4WoXtQ6429t57 VhEpfbGMrRBmpJb/6/too9W4jJOgkKSCK0/plFtJKmdapfFSHP4lzQ== =avTH -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message