UNIX System Programming for System VR4

By Dave Curry
August 1996
Pages: 613
ISBN 10: 1-56592-163-1 | ISBN 13: 9781565921634
starstarstarstarstar (Average of 4 Customer Reviews)

This book is OUT OF PRINT.

Book description

Presents a comprehensive look at 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. It thoroughly explains all UNIX system calls and library routines related to systems programming, working with I/O, files and directories, processing multiple input streams, file and record locking, and memory-mapped files.
Full Description

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

Browse within this book

Cover | Table of Contents | Index | Colophon




Featured customer reviews

Write a Review


UNIX Systems Programming for SVR4 Review,  August 29 2001
Rating: StarStarStarStarStar
Submitted by Helgi Gunnarsson   [Respond | View]

This is my favorite book.

This book is well written with good examples, the topics are well organized and it gives you an understanding quickly without crossing over to other topics.

It has helped me porting software to both Solaris and Linux with clear and easy to find answers to most of my questions.

The author should write a lot more.


UNIX Systems Programming for SVR4 Review,  June 19 2001
Rating: StarStarStarStarStar
Submitted by Richard Adams   [Respond | View]

A very useful book.

Well structured with thorough examples that you can almost cut and paste together to create complete programs.

It should be noted however that this book is about programming using system calls to the OS. It is not about GUIs or other abstracted programming environments.

Typical examples of OS programming include

Shared memory, Signal handlers, Inter Process Communication (IPC), File handling, process management, terminal management, TCP/IP client/server communication.

Oh yeah, the coding principles are well documented and pretty much portable (with minor tweaks).


UNIX Systems Programming for SVR4 Review,  February 28 2001
Rating: StarStarStarStarStar
Submitted by Ryan J. Parker   [Respond | View]

UNIX Systems Programming for SVR4 is MUST have for any UNIX programmer out there. Though it says SVR4, it contains information about BSD variants, too. The book provides in depth information and is a lot easier to flip through than man pages!

Read all reviews


UNIX Systems Programming for SVR4 Review,  September 15 2000
Rating: StarStarStarStarStar
Submitted by Ray   [Respond | View]

Before you get this book, you must understand basic

programming. I wish that the functions used that were

not a part of the UNIX C lib. would have been posted

to help those of us who had bought the book for learning.

Other than that I think the book was a good investment.


See larger cover