From owner-freebsd-chat Mon Mar 8 16:23: 7 1999 Delivered-To: freebsd-chat@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id C477414F9E for ; Mon, 8 Mar 1999 16:22:37 -0800 (PST) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with SMTP id SAA31924; Mon, 8 Mar 1999 18:22:18 -0600 (CST) Date: Mon, 8 Mar 1999 18:22:18 -0600 (CST) From: Steve Price 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 Advanced Programming in the Unix Environment by W. Richard Stevens. ISBN 0-201-56317-7. Unix Network Programming Volume 2: Interprocess Communications by W. Richard Stevens. ISBN 0-130-81081-9. In fact I've found that just about all of Mr. Stevens books are a must have on my shelf. One of his books even features excerpts by one of our very own, Bill Fenner . :) 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