Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 1999 23:55:22 +0000
From:      Mark Ovens <marko@uk.radan.com>
To:        chat@freebsd.org
Subject:   Book/URL on C programming (inter-process comms)?
Message-ID:  <19990308235522.A507@localhost>

next in thread | raw e-mail | index | archive | help
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




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