]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - share/doc/psd/04.uprog/p0
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / share / doc / psd / 04.uprog / p0
1 .\" Copyright (C) Caldera International Inc. 2001-2002.  All rights reserved.
2 .\" 
3 .\" Redistribution and use in source and binary forms, with or without
4 .\" modification, are permitted provided that the following conditions are
5 .\" met:
6 .\" 
7 .\" Redistributions of source code and documentation must retain the above
8 .\" copyright notice, this list of conditions and the following
9 .\" disclaimer.
10 .\" 
11 .\" Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 
15 .\" All advertising materials mentioning features or use of this software
16 .\" must display the following acknowledgement:
17 .\" 
18 .\" This product includes software developed or owned by Caldera
19 .\" International, Inc.  Neither the name of Caldera International, Inc.
20 .\" nor the names of other contributors may be used to endorse or promote
21 .\" products derived from this software without specific prior written
22 .\" permission.
23 .\" 
24 .\" USE OF THE SOFTWARE PROVIDED FOR UNDER THIS LICENSE BY CALDERA
25 .\" INTERNATIONAL, INC.  AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
26 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
27 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28 .\" DISCLAIMED.  IN NO EVENT SHALL CALDERA INTERNATIONAL, INC. BE LIABLE
29 .\" FOR ANY DIRECT, INDIRECT INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
32 .\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
33 .\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
34 .\" OR OTHERWISE) RISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
35 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 .\" 
37 .\" $FreeBSD$
38 .\"
39 .\"     @(#)p0  8.1 (Berkeley) 6/8/93
40 .\"
41 .if n .ls 1
42 .\" .TM 78-1273-9 39199 39199-11
43 .\" .ND October 2, 1978
44 .\" .old TM 75-1273-11 October 22, 1975
45 .OH 'UNIX Programming \(em Second Edition''PSD:4-%'
46 .EH 'PSD:4-%''UNIX Programming \(em Second Edition'
47 .TL
48 UNIX Programming \(em Second Edition
49 .AU "MH 2C-518" 6021
50 Brian W. Kernighan
51 .AU "MH 2C-517" 3770
52 Dennis M. Ritchie
53 .AI
54 AT&T Bell Laboratories
55 Murray Hill, NJ 07974
56 .AB
57 .PP
58 This paper is an introduction to programming on
59 the
60 .UX
61 system.
62 The emphasis is on how to write programs that interface
63 to the operating system,
64 either directly or through the standard I/O library.
65 The topics discussed include
66 .IP "  \(bu"
67 handling command arguments
68 .IP "  \(bu"
69 rudimentary I/O; the standard input and output
70 .IP "  \(bu"
71 the standard I/O library; file system access
72 .IP "  \(bu"
73 low-level I/O: open, read, write, close, seek
74 .IP "  \(bu"
75 processes: exec, fork, pipes
76 .IP "  \(bu"
77 signals \(em interrupts, etc.
78 .PP
79 There is also an appendix which describes
80 the standard I/O library in detail.
81 .AE
82 .\" .CS 17 0 17 0 0 4