From owner-freebsd-chat Tue Mar 9 2:17:23 1999 Delivered-To: freebsd-chat@freebsd.org Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (Postfix) with ESMTP id 11E7614FF8 for ; Tue, 9 Mar 1999 02:17:19 -0800 (PST) (envelope-from narvi@haldjas.folklore.ee) Received: from haldjas.folklore.ee (haldjas.folklore.ee [172.17.2.1] (may be forged)) by haldjas.folklore.ee (8.8.8/8.8.4) with SMTP id MAA28607; Tue, 9 Mar 1999 12:16:46 +0200 (EET) Date: Tue, 9 Mar 1999 12:16:46 +0200 (EET) From: Narvi To: Mark Ovens Cc: chat@FreeBSD.ORG Subject: Re: Book/URL on C programming (inter-process comms)? In-Reply-To: <19990308235522.A507@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org What about /usr/share/doc/psd/ ? Sander There is no love, no good, no happiness and no future - all these are just illusions. On Mon, 8 Mar 1999, 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message