Advanced Programming in the UNIX Environment by W. Richard Stevens


Advanced Programming in the UNIX Environment
Title : Advanced Programming in the UNIX Environment
Author :
Rating :
ISBN : 0201563177
ISBN-10 : 9780201563177
Language : English
Format Type : Hardcover
Number of Pages : 768
Publication : First published June 30, 1992

If you are an experienced C programmer with a working knowledge of UNIX, you cannot afford to be without this up-to-date tutorial on the system call interface and the most important functions found in the ANSI C library. Rich Stevens describes more than 200 system calls and functions; since he believes the best way to learn code is to read code, a brief example accompanies each description.Building upon information presented in the first 15 chapters, the author offers chapter-long examples teaching you how to create a database library, a PostScript printer driver, a modem dialer, and a program that runs other programs under a pseudo terminal. To make your analysis and understanding of this code even easier, and to allow you to modify it, all of the code in the book is available via UUNET.A 20-page appendix provides detailed function prototypes for all the UNIX, POSIX, and ANSI C functions that are described in the book, and lists the page on which each prototype function is described in detail. Additional tables throughout the text and a thorough index make Advanced Programming in the UNIX Environment an invaluable reference tool that all UNIX programmers - beginners to experts - w


Advanced Programming in the UNIX Environment Reviews


  • Michael Finocchiaro

    I gave this one 5* because it is an excellent reference for UNIX geeks and belongs in the standard IT cannon for us old farts that came up through the pre-Facebook Era of the 80s and 90s. Highly readable and with excellent examples. A classic.

  • TK Keanini

    I had the pleasure in my lifetime to take a tutorial from Stevens at a USENIX conference before he passed. It was an experience I will never forget. All of his books capture his ability to transfer very complex information in a way that no one else can quite do for me. Just like you will always remember that teacher who really made your wheels turn, I will always be greatful to Richard Stevens for his contribution to UNIX and TCPIP networking.

  • Scott Holstad

    Possibly the best UNIX book I ever read and one of the best tech books ever. I don't know how I could have made it without it.

  • Bernie4444

    Where are AIX, and HP/UX, among other majors?

    This book is a fantastic starting point in life. Somehow our public schools overlook teaching the fundamental skills presented in this book. We learn how to play with toys on simple computers and never really learn what we are doing.

    The real strength of this book is in the definitions. We get to see the purpose and flexibility of system calls and functions. Not just use them but understand them. UNIX functions as job control or signals are explained in detail. Let's take just one item "waitpid":

    The waitpid function provides three features that aren't provided by the wait function.

    You will have to read the book to find out what they are. However, there are examples also. Now for people with real systems like AIX all you have to do is add a "k" to the front of the call and you have the AIX kernel function call "kwaitpid"; voila you now have an understanding that cannot be found clearly in a Red Book.

    It does help some to have a pre-understanding of the system so that you can use the book to fill in the education holes missed when necessary.

    The index is worth its weight in gold as you can find functions, headers, and concepts all in alphabetical order. My favorite is the definitions.

    As much as I am a fan of the internet it also pays to carry the information in the form of a book. And all this book has to do is save a couple of hours and it has paid for itself.

    Each addition adds newer information at the expense of dropping what appears to be obsolete information; so, it would behoove you to obtain a copy of each addition and periodically look for the latest.

  • Prashanth

    + Comprehensive, both in breadth, and in depth

    - Dry

    Compared to writers such as Kernighan, Pike and Ritchie, I find Stevens' style awfully boring. K, P and R, for example, bring in interesting problems (e.g. Markov chains) to solve with the tools they are going to introduce to us. Stevens, in contrast, sticks to just explaining functions, mechanism, etc.

    Good reference, but boring.

  • Vasil Kolev

    Probably the best book on any UNIX programming. It's good for novices, and everyone can learn something from the book. It doesn't contain some of the weird and new interfaces some of the OSes contain, but sticks to the standards and promotes a pretty good programming style and interface.

  • Wm

    Brutal to read, but I use this text on a regular basis.

  • Dean Jones

    How I learned Unix programming. Great reference.

  • Chris

    Finally started reading this. Great book, wish I read it 4 years ago when it would have been more helpful. Much faster way to learn the gist of the commands than reading man pages.

  • Ramesh

    Get the second edition.

  • Warren Mcpherson

    Very approachable and readable, much bigger than most other things on my bookshelf, this book delivers a wonderful insight into the details of Unix architecture and programming.

  • Kurt Schwehr

    Read this around 1995-6 from front to back.

  • Arun

    Working through this book again... Nothing short of 5 starts would do for this one of a kind
    book written by an Unix god.

  • Drobinsky Alexander

    Excellent reference to modern POSIX API.

  • Bernie4444

    Where are AIX, and HP/UX, among other majors?

    This book is a fantastic starting point in life. Somehow our public schools overlook teaching the fundamental skills presented in this book. We learn how to play with toys on simple computers and never really learn what we are doing.

    The real strength of this book is in the definitions. We get to see the purpose and flexibility of system calls and functions. Not just use them but understand them. UNIX functions as job control or signals are explained in detail. Let's take just one item "waitpid":

    The waitpid function provides three features that aren't provided by the wait function.

    You will have to read the book to find out what they are. However, there are examples also. Now for people with real systems like AIX all you have to do is add a "k" to the front of the call and you have the AIX kernel function call "kwaitpid"; voila you now have an understanding that cannot be found clearly in a Red Book.

    It does help some to have a pre-understanding of the system so that you can use the book to fill in the education holes missed when necessary.

    The index is worth its weight in gold as you can find functions, headers, and concepts all in alphabetical order. My favorite is the definitions.

    As much as I am a fan of the internet it also pays to carry the information in the form of a book. And all this book has to do is save a couple of hours and it has paid for itself.

    Each addition adds newer information at the expense of dropping what appears to be obsolete information; so, it would behoove you to obtain a copy of each addition and periodically look for the latest.

  • Kevin Yee

    Solid text.

  • Kam Yung Soh

    A good summary and guide to advanced programming in the Unix environment. Covers most of the major Unix APIs and shows you not only how to use the interfaces but how to use them properly and securely.

  • Dimitri

    niiiice!!!

  • Michael Steinfeld

    Biblical!

  • Bhas Karan

    i want to read this book entirely.