Advanced Programming in the UNIX Environment

by ;
  • ISBN13:


  • ISBN10:


  • Edition: 3rd
  • Format: Paperback
  • Copyright: 2013-05-14
  • Publisher: Addison-Wesley Professional

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $69.99 Save up to $7.00
  • Rent Book $62.99
    Add to Cart Free Shipping


Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.


Master the system calls at the heart of today's UNIX and Linux systems: the programming interfaces that drive the UNIX and Linux kernels and run everything from filesystems and multitasking to interprocess communication. A thorough knowledge of system calls is essential for every UNIX and Linux programmer -- and for 20 years, W. Richard Stevens'Advanced Programming in the Unix Environmenthas delivered that. Now, Stephen Rago has completely updated this classic to reflect modern distributions including Red Hat 2.6.x, Solaris 10 3, OS X 10.5.4, FreeBSD 7.0.5 -- and for the first time, Ubuntu. As in previous editions, Rago begins with essentials such as file and process control, carefully laying the groundwork for more advanced techniques. He supports his crystal-clear explanations with nearly 10,000 lines of code, all carefully tested on each of these leading versions and distributions. Rago begins with an up-to-date overview of the UNIX System, its standardization processes, and its diverse implementations. Next, he introduces file I/O, files, directories, and the Standard I/O Library. You'll walk through working with UNIX/Linux system data files and information… controlling the process environment and its relationships… using signals, threads, and daemon processes… mastering advanced I/O techniques, interprocess communication, sockets, and advanced IPC… using Terminal I/O and Pseudo Terminals… working with database libraries, communicating with network printers, and much more. Appendices provide essential information on function prototypes, miscellaneous source code, and solutions to many of this guide's exercises. For all intermediate-to-advanced level UNIX programmers and software engineers.

Author Biography

Stephen A. Rago is the author of UNIX© System V Network Programming (Addison-Wesley, 1993). Rago was one of the Bell Laboratories develops who built UNIX System V, Rlease 4. He served as a technical reviewer for the first edition of Advanced Programming in the UNIX© Environment. Rago currently works as a research staff member at NEC Laboratories America in the Robust and Storage Systems Department.

Table of Contents

Foreword to the Second Edition

Preface to the Third Edition

Preface to the Second Edition

Preface to the First Edition


Chapter 1: UNIX System Overview

Chapter 2: UNIX Standardization and Implementations
Chapter 3: File I/O

Chapter 4: Files and Directories

Chapter 5: Standard I/O Library

Chapter 6: System Data Files and Information

Chapter 7: Process Environment

Chapter 8: Process Control

Chapter 9: Process Relationships

Chapter 10: Signals

Chapter 11: Threads

Chapter 12: Thread Control

Chapter 13: Daemon Processes

Chapter 14: Advanced I/O

Chapter 15: Interprocess Communication

Chapter 16: Network IPC: Sockets

Chapter 17: Advanced IPC

Chapter 18: Terminal I/O

Chapter 19: Pseudo Terminals

Chapter 20: A Database Library

Chapter 21: Communicating with a Network Printer

Appendix A: Function Prototypes

Appendix B: Miscellaneous Source Code

Appendix C: Solutions to Selected Exercises




Rewards Program

Write a Review