Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 1999 19:44:46 -0600
From:      Nathan Ahlstrom <nrahlstr@winternet.com>
To:        Mark Ovens <marko@uk.radan.com>, chat@FreeBSD.ORG
Subject:   Re: Book/URL on C programming (inter-process comms)?
Message-ID:  <19990308194446.B18048@winternet.com>
In-Reply-To: <19990308235522.A507@localhost>; from Mark Ovens on Mon, Mar 08, 1999 at 11:55:22PM %2B0000
References:  <19990308235522.A507@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

http://www.ecst.csuchico.edu/~beej/guide/

Mark Ovens <marko@uk.radan.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990308194446.B18048>