More Pipes

Last time: Redirection and Pipes

Prof. Brian D. Davison

Computer Science & Engineering, Lehigh University

Announcements

Final Technical Details About Pipes

We didn't quite get to this slide on Friday, but we did figure out some of these facts on our own.

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()

Course Evaluation