System Programming

bulletIntroduction
bulletWe will describe how to write system programs under UNIX environment using library functions and system calls. We will cover UNIX file system manipulations, standard I/O library, process control and signaling, and other advanced topics if time permits.
bulletIntroduction – Chapter 1
bulletUnix Standardization and Implementation – Chapter 2
bulletFile I/O – Chapter 3
bulletStandard I/O Library – Chapter 5
bulletFiles and Directories – Chapter 4
bulletSystem Data Files and Information – Chapter 6
bulletThe Environment of a Unix Process – Chapter 7
bulletProcess Control – Chapter 8
bulletSignals – Chapter 10
bulletInterprocess Communication – Chapter 14 (partially)
bulletInstructor: Pangfeng Liu
bulletTextbook: W. Richard Stevens, “Advanced Programming in the Unix Environment,” Addison-Wesley, 2001.
bulletTeaching assistants
bullet李佳穎 (cylee@csie.ntu.edu.tw, Room 211)
bullet羅習五 (d89015@csie.ntu.edu.tw, Room 403)
bullet郭錦福 (d89005@csie.ntu.edu.tw, Room 403)
bulletMeeting time: 3:30 to 6:30 pm every Friday
bulletMeeting place: 資105
bullet

Grading (subject to changes):
bullet

Midterm exam (35%)

bullet

Final exam (35%)

bullet

Homework (30%)

bulletLecture Note 1
bulletLecture Note 2
bulletLecture Note 3
bulletLecture Note 4
bulletLecture Note 5
bulletLecture Note 6
bulletLecture Note 7