- W. Richard Stevens' definitive, classic guide to UNIX® programming, now 100% updated for today's leading systems and distributions!
- The #1 guide to UNIX/Linux programming since 1992: now updated to address newer versions of Red Hat, Solaris, FreeBSD, and Mac OS X, cover Ubuntu Linux, and reflect newer techniques and best practices
- Contains nearly 10,000 lines of code, all carefully tested on today's most widely-used UNIX/Linux platforms
- Copyright 2013
- Dimensions: 7-3/8" x 9-1/8"
- Pages: 1032
- Edition: 3rd
- ISBN-10: 0-321-63773-9
- ISBN-13: 978-0-321-63773-4
- ISBN-10: 0-321-63799-2
- ISBN-13: 978-0-321-63799-4
Practical, in-depth knowledge of the system programming interfaces that drive the UNIX and Linux kernels
Building on W. Rich Stevens pioneering work, this third edition of the classic was updated by Steve Rago, a colleague of Stevens, to reflect technical advances and best practices aligning with Version 4 of the Single UNIX Specification.
This edition covers more than seventy interfaces including:
- POSIX asynchronous I/O
- Spin locks
- POSIX semaphores
Steve carefully retains the spirit and approach that have made this book so valuable, starting with files, directories, and processes, carefully laying the groundwork for more advanced techniques, such as signal handling and terminal I/O. And he thoroughly covers threads and multithreaded programming, and socket-based IPC.
Filled with examples, case-studies, and access to thousands of lines of downloadable code, Advanced Programming in the UNIX® Environment has helped generations of programmers write code with exceptional power, performance, and reliability.
Online Sample Chapter
Using Threads within a UNIX Process
Preface to "Advanced Programming in the UNIX Environment, 3rd Edition"
Download the sample pages (includes Chapter 11 and Index)
Table of Contents
- 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