.\" This module is believed to contain source code proprietary to AT&T. .\" Use and redistribution is subject to the Berkeley Software License .\" Agreement and your Software Agreement with AT&T (Western Electric). .\" .\" @(#)p0 8.1 (Berkeley) 6/8/93 .\" .if n .ls 1 .\" .TM 78-1273-9 39199 39199-11 .\" .ND October 2, 1978 .\" .old TM 75-1273-11 October 22, 1975 .OH 'UNIX Programming \(em Second Edition''PSD:4-%' .EH 'PSD:4-%''UNIX Programming \(em Second Edition' .TL UNIX Programming \(em Second Edition .AU "MH 2C-518" 6021 Brian W. Kernighan .AU "MH 2C-517" 3770 Dennis M. Ritchie .AI AT&T Bell Laboratories Murray Hill, NJ 07974 .AB .PP This paper is an introduction to programming on the .UX system. The emphasis is on how to write programs that interface to the operating system, either directly or through the standard I/O library. The topics discussed include .IP " \(bu" handling command arguments .IP " \(bu" rudimentary I/O; the standard input and output .IP " \(bu" the standard I/O library; file system access .IP " \(bu" low-level I/O: open, read, write, close, seek .IP " \(bu" processes: exec, fork, pipes .IP " \(bu" signals \(em interrupts, etc. .PP There is also an appendix which describes the standard I/O library in detail. .AE .\" .CS 17 0 17 0 0 4