The classic guide to UNIX® programming-completely updated!
UNIX application programming requires a mastery of system-level services. Making sense of the many functions-more than 1,100 functions in the current UNIX specification-is a daunting task, so for years programmers have turned to Advanced UNIX Programming for its clear, expert advice on how to use the key functions reliably.
An enormous number of changes have taken place in the UNIX environment since the landmark first edition. In Advanced UNIX Programming, Second Edition, UNIX pioneer Marc J. Rochkind brings the book fully up to date, with all-new, comprehensive coverage
POSIX Solaris™ Linux® FreeBSD Darwin, the Mac™ OS X kernel And more than 200 new system calls Rochkind's fully updated classic explains all the UNIX system calls you're likely to need, all in a single volume!
Interprocess communication, networking (sockets), pseudo terminals, asynchronous I/O, advanced signals, realtime, and threads Covers the system calls you'll actually use-no need to plow through hundreds of improperly implemented, obsolete, and otherwise unnecessary system calls! Thousands of lines of example code include a Web browser and server, a keystroke recorder/player, and a shell complete with pipelines, redirection, and background processes Emphasis on the practical-ensuring portability, avoiding pitfalls, and much more! Since 1985, the one book to have for mastering UNIX application programming has been Rochkind's Advanced UNIX Programming. Now completely updated, the second edition remains the choice for up-to-the-minute, in-depth coverage of the essential system-level services of the UNIX family of operating systems.
Outdated, but a fast intro to old-style Unix programming
My first two books about Unix Programming were "The Unix Programming Environment" by Kernighan and this book. Both are outdated, because when they were written there was no POSIX, XPG3 or ANSI C standards around.
Kernighan's book is ideal for Unix beginner's and offers a friendly general introduction to Unix programming and also covers shell programming very well. Rochkind's book details the basic Unix system calls and libraries.
I think that this book is still valuable and can be used as a fast course about old-style Unix programming. The best book on this subject is "Advanced Programming in Unix Environment" by Richard Stevens, that is well written, updated and covers much more topics, but takes a lot of time to read.
My favorite part is when Rochkind comments the source code of a mini-shell that can help you understand the mechanism of a real Unix shell. But notice, Unix Network Programming isn't covered here.
Helio Cardoso
---
Very good starter book
I found this book an excellent introduction when I first started doing network programming, sockets, signals, and threads in a Unix environment. After a while, though, I needed more detail and bought the excellent Stevens book "Advanced Programming in a Unix Environment". I would heartily recommend both books, this one to get you into it, and the Stevens book as the hyper detailed reference.
Paul Tomblin
---
A must-have book for UNIX system call programming
The author knew the original developers of UNIX, and it shows in the quality of the information in the book. Also the writing style and the contents are both very good indeed - to the point, yet detailed where needed. Has examples on basic system calls for file and process management, terminal I/O, IPC, etc. Each chapter ends with a section on portability between various flavors of UNIX. Uses an example of a creating a simple DBMS to illustrate many of the topics. BYTE magazine gave it a very good review. Buy it!
Vasudev Ram
---
A must-have for understanding Interprocess Communication
An excellent book for people who want to understand and program under UNIX operating system. The author has done a wonderful job by building a set of library routines for interprocess communication (IPC) and shown the merits, de-merits and highlighted the usefulness of available system calls.
Use it alongwith Stevens 'Advanced UNIX programming' book.
girish
---
one of the two most useful books on unix another one is 'The Unix Programming Environment'
In a direct comparison with Advanced Programming in the UNIX Environment (Addison-Wesley Professional Computing) by Stevens, W. Richard, Rago, Stephen A. (June 1, 2013) Paperback I'd recommend the other book of Stevens. Both books cover basically the same content. Rochkind's writing style is a bit more informal, he adds some nice opinionated remarks here or there about the nature of standardization processes and similar things. Yet his presentation of the topic is overall less structured, he's referring forwards and backwards a lot, presenting things at one point that he admits the reader cannot grasp yet, if she is reading consecutively.