From owner-freebsd-chat Mon Mar 8 17:45:41 1999 Delivered-To: freebsd-chat@freebsd.org Received: from icicle.winternet.com (icicle.winternet.com [198.174.169.13]) by hub.freebsd.org (Postfix) with ESMTP id E3B3614BDD for ; Mon, 8 Mar 1999 17:45:37 -0800 (PST) (envelope-from nrahlstr@mail.winternet.com) Received: (from adm@localhost) by icicle.winternet.com (8.8.8/8.8.8) id TAA28556; Mon, 8 Mar 1999 19:44:46 -0600 (CST) Received: from tundra.winternet.com(198.174.169.11) by icicle.winternet.com via smap (V2.0) id xma028533; Mon, 8 Mar 99 19:44:40 -0600 Received: (from nrahlstr@localhost) by tundra.winternet.com (8.8.7/8.8.4) id TAA18097; Mon, 8 Mar 1999 19:44:47 -0600 (CST) Message-ID: <19990308194446.B18048@winternet.com> Date: Mon, 8 Mar 1999 19:44:46 -0600 From: Nathan Ahlstrom To: Mark Ovens , chat@FreeBSD.ORG Subject: Re: Book/URL on C programming (inter-process comms)? References: <19990308235522.A507@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990308235522.A507@localhost>; from Mark Ovens on Mon, Mar 08, 1999 at 11:55:22PM +0000 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org http://www.ecst.csuchico.edu/~beej/guide/ Mark Ovens wrote: > Can anyone point me to a good book or (preferably) a URL where I > can get info/help about inter-process communications in C in a BSD > environment, fork(), pipe(), popen() etc? > > What I'm trying to do (without success :-( ) is to write a program, > "foo", that starts (exec()'s?) another program, "bar" with which > it has 2-way communication. > > For example, bar outputs a prompt "enter a number", foo reads the > prompt and sends bar a number, bar outputs a result which foo can > read. > > Anything that gives examples of doing this would be a great help. > > Thanks. > > -- > Way to go Eddie! Eddie Irvine, Winner, 1999 Australian GP > FreeBSD - The Power To Serve http://www.freebsd.org > My Webpage http://www.users.globalnet.co.uk/~markov > _______________________________________________________________ > Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK > CAD/CAM solutions for Sheetmetal Working Industry > mailto:marko@uk.radan.com http://www.radan.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-chat" in the body of the message -- Nathan Ahlstrom nrahlstr@winternet.com http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message