PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/share/doc/psd/04.uprog/p0

https://bitbucket.org/freebsd/freebsd-head/
#! | 82 lines | 82 code | 0 blank | 0 comment | 0 complexity | 3e011cc901b039a04fbe09bbbeae426c MD5 | raw file
 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
48UNIX Programming \(em Second Edition
49.AU "MH 2C-518" 6021
50Brian W. Kernighan
51.AU "MH 2C-517" 3770
52Dennis M. Ritchie
53.AI
54AT&T Bell Laboratories
55Murray Hill, NJ 07974
56.AB
57.PP
58This paper is an introduction to programming on
59the
60.UX
61system.
62The emphasis is on how to write programs that interface
63to the operating system,
64either directly or through the standard I/O library.
65The topics discussed include
66.IP "  \(bu"
67handling command arguments
68.IP "  \(bu"
69rudimentary I/O; the standard input and output
70.IP "  \(bu"
71the standard I/O library; file system access
72.IP "  \(bu"
73low-level I/O: open, read, write, close, seek
74.IP "  \(bu"
75processes: exec, fork, pipes
76.IP "  \(bu"
77signals \(em interrupts, etc.
78.PP
79There is also an appendix which describes
80the standard I/O library in detail.
81.AE
82.\" .CS 17 0 17 0 0 4