home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 19086 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  1.4 KB

  1. 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
  2. From: hartman@ulogic.UUCP (Richard M. Hartman)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: UNIX pipes in C
  5. Message-ID: <799@ulogic.UUCP>
  6. Date: 31 Dec 92 18:07:10 GMT
  7. References: <1992Dec29.183248.8309@linus.mitre.org: <1992Dec30.162342.9425@cs.tu-berlin.de>
  8. Organization: negligable
  9. Lines: 22
  10.  
  11. In article <1992Dec30.162342.9425@cs.tu-berlin.de: net@cs.tu-berlin.de (Oliver Laumann) writes:
  12. :bdickens@elara.mitre.org (Brian Dickens) writes:
  13. :> The program which corresponds to the "calc" program above has already
  14. :> been written.  I need to know what kind of code I have to write to set up a
  15. :> link between my program (analogous to "frontend") and the "calc" program.
  16. :> The manpages for fork() and pipe() are very confusing for me, and I don't
  17. :> see how to do this.
  18. :
  19. :One of the exercises in a course about UNIX programming I recently gave
  20. :was to write a programmer's interface (an `API', as you would call it
  21. [...]
  22. :Here is a brief solution that I handed out at the end of the course.
  23.  
  24. We haven't just been tricked into doing someone's homework again,
  25. have we?            ;-)
  26.  
  27.         -Richard Hartman
  28.         hartman@ulogic.COM
  29.  
  30. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  31. "Badges?  I don' got to show you no stinkin' badges!"
  32.  
  33.