More Pipes

Last time: Pipes

Prof. Brian D. Davison

Computer Science & Engineering, Lehigh University

Additional Credits

Announcements

The wait(3c) system call

System Programming

bc: a UNIX calculator

bc: a UNIX calculator

Client-server model

Coding bc

popen() -- making processes look like files

more popen() examples

Writing popen() featuring fdopen()

That's it

Look here: http://www.cse.lehigh.edu/~brian/course/2013/cunix/notes/ch11/popen.c
Yes, I'm also placing it in the notes section: http://www.cse.lehigh.edu/~brian/course/2013/cunix/notes/ch11/popen.c