UNIX Systems Programming for SVR4

Front Cover
O'Reilly, 1996 - Computers - 596 pages
0 Reviews

Any program worth its salt uses operating system services. Even a simple program, if practical, reads input and produces output. And, most applications have more complex needs. They need to find out the time, use the network, or start and communicate with other processes. Systems programming really means nothing more than writing software that uses these operating system services.

UNIX Systems Programming for SVR4 gives you the nitty-gritty details on how UNIX interacts with applications. If you're writing an application from scratch, or if you're porting an application to any System V.4 platform, you need this book.

The first part of the book presents simple functions and concepts supported by numerous code fragment examples and short demonstration programs. These examples become building blocks for the application program examples that appear later in the book to illustrate more advanced, complex functions.

UNIX Systems Programming for SVR4 is thorough and complete and offers advice on:

  • Working with low-level I/O routines and the standard I/O library
  • Creating and deleting files and directories, changing file attributes, processing multiple input streams, file and record locking, and memory-mapped files
  • Reading, printing, and setting the system time and date
  • Determining who is logged in, times users log in and out, how to change a program's effective user ID or group ID, and writing set user ID programs
  • Changing system configuration parameters for resource limits
  • Creating processes, job control, and signal handling
  • Using pipes, FIFOs, UNIX-domain sockets, message queues, semaphores, and shared memory for interprocess communication
  • Reading and setting serial line characteristics including baud rate, echoing, and flow control
  • Network programming with Berkeley sockets, Transport Layer Interface (TLI), a less popular but more flexible interface to network programming, and the data link provider interface

From inside the book

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Introduction to SVR4
1
Utility Routines
11
LowLevel IO Routines
57
Copyright

18 other sections not shown

Common terms and phrases

References to this book

All Book Search results »

About the author (1996)

David A. Curry has been programming and administering UNIX systems since 1978. He has authored books on UNIX and C programming and UNIX security. Dave has worked for the Research Institute for Advanced Computer Science, SRI International, and the Purdue University Engineering Computer Network. He currently serves as the Purdue Computer Emergency Response Team's representative to the Forum of Incident Response and Security Teams. Dave's hobbies include amateur radio and reading military and science fiction, but most of his time is spent trying to keep up with the kids.

Bibliographic information