home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!purdue!news.cs.indiana.edu!umn.edu!csus.edu!netcom.com!netcomsv!ulogic!hartman
- From: hartman@ulogic.UUCP (Richard M. Hartman)
- Newsgroups: comp.lang.c
- Subject: Re: UNIX pipes in C
- Message-ID: <799@ulogic.UUCP>
- Date: 31 Dec 92 18:07:10 GMT
- References: <1992Dec29.183248.8309@linus.mitre.org: <1992Dec30.162342.9425@cs.tu-berlin.de>
- Organization: negligable
- Lines: 22
-
- In article <1992Dec30.162342.9425@cs.tu-berlin.de: net@cs.tu-berlin.de (Oliver Laumann) writes:
- :bdickens@elara.mitre.org (Brian Dickens) writes:
- :> The program which corresponds to the "calc" program above has already
- :> been written. I need to know what kind of code I have to write to set up a
- :> link between my program (analogous to "frontend") and the "calc" program.
- :> The manpages for fork() and pipe() are very confusing for me, and I don't
- :> see how to do this.
- :
- :One of the exercises in a course about UNIX programming I recently gave
- :was to write a programmer's interface (an `API', as you would call it
- [...]
- :Here is a brief solution that I handed out at the end of the course.
-
- We haven't just been tricked into doing someone's homework again,
- have we? ;-)
-
- -Richard Hartman
- hartman@ulogic.COM
-
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- "Badges? I don' got to show you no stinkin' badges!"
-
-