|
|
1.1 root 1: .\" @(#)p0 6.3 (Berkeley) 5/9/86
2: .\"
3: .if n .ls 1
4: ...TM 78-1273-9 39199 39199-11
5: ...ND October 2, 1978
6: ...old TM 75-1273-11 October 22, 1975
7: .OH 'UNIX Programming \(em Second Edition''PS2:3-%'
8: .EH 'PS2:3-%''UNIX Programming \(em Second Edition'
9: .TL
10: UNIX Programming \(em Second Edition
11: .AU "MH 2C-518" 6021
12: Brian W. Kernighan
13: .AU "MH 2C-517" 3770
14: Dennis M. Ritchie
15: .AI
16: .MH
17: .AB
18: .PP
19: This paper is an introduction to programming on
20: the
21: .UX
22: system.
23: The emphasis is on how to write programs that interface
24: to the operating system,
25: either directly or through the standard I/O library.
26: The topics discussed include
27: .IP " \(bu"
28: handling command arguments
29: .IP " \(bu"
30: rudimentary I/O; the standard input and output
31: .IP " \(bu"
32: the standard I/O library; file system access
33: .IP " \(bu"
34: low-level I/O: open, read, write, close, seek
35: .IP " \(bu"
36: processes: exec, fork, pipes
37: .IP " \(bu"
38: signals \(em interrupts, etc.
39: .PP
40: There is also an appendix which describes
41: the standard I/O library in detail.
42: .AE
43: .CS 17 0 17 0 0 4
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.