From owner-freebsd-questions@FreeBSD.ORG Mon Jun 2 09:57:50 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C002437B401 for ; Mon, 2 Jun 2003 09:57:50 -0700 (PDT) Received: from iota.root-servers.ch (iota.root-servers.ch [193.41.193.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 5540D43F85 for ; Mon, 2 Jun 2003 09:57:47 -0700 (PDT) (envelope-from gaml@buz.ch) Received: (qmail 92427 invoked from network); 2 Jun 2003 16:57:43 -0000 Received: from dclient217-162-135-22.hispeed.ch (HELO gaxp1800.root.li) (217.162.135.22) by 0 with SMTP; 2 Jun 2003 16:57:43 -0000 Date: Mon, 2 Jun 2003 19:00:35 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.62i) Educational X-Priority: 3 (Normal) Message-ID: <9588864859.20030602190035@buz.ch> To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Using standard I/O on pipes? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gabriel Ambuehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 16:57:51 -0000 Hi, I'm running into trouble using stdio on pipes. Basically, my app redirects the stdout to a pipe and then execs a filter which should be able to printf() and all other means that write to stdout but when I run the code, it will only transmit data that I write directly with write() systemcalls. I'm thinking this should work (else I couldn't use printf() on stdout pipes in a shell neither) but maybe I'm overlooking something.