Help answer threads with 0 replies.
Go Back > Reviews > Books > Programming
User Name


Search · Register · Submit New Review · Download your favorite Linux Distributions ·

Advanced UNIX Programming
Reviews Views Date of last review
1 42425 05-28-2004
Recommended By Average Price Average Rating
100% of reviewers None indicated 10.0

Description: 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 including:

* 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!
Keywords: Advanced UNIX Programming Rochkind
Publisher: Addison Wesley
ISBN: 0-13-141154-3

Post A Reply 
Old 05-28-2004, 01:52 PM   #1
Registered: Feb 2001
Distribution: Slackware
Posts: 1,823

Rep: Reputation:
Would you recommend the product? yes | Price you paid?: None indicated | Rating: 10

Pros: Well written; many good examples; covers lots of system calls
Cons: paperback

Advanced Unix Programming (AUP) is a very welcome addition to my programming library. My previous advanced UNIX go-to guide was the Stevens "Advanced Programming in the UNIX Environment" (APUE) book. It has been a great book, but AUP pulls miles ahead because it is, most importantly, up to date and goes beyond APUE by covering advanced networking topics as well.

AUP covers fundamentals like UNIX processes and threads, as well as updated signaling and UNIX timers. It also heavily covers UNIX I/O: Basic and advanced File I/O, networking, and Inter Process Communications. The networking section gets knee deep into sockets, also touches on connection less sockets and out-of-band data. There is also a good example of a simple http server. The examples in the book are very good and the sources are available online: One drawback of Steven's APUE is the need for a custom common header for all this examples. AUP requires no such header, and all the code necessary for the example is on the page right in front of you. The preface states that the example code is compiled on Linux, Solaris, Free BSD and Darwin (MAC OS X). I have also compiled some of the examples on AIX 5.1.

The book provides a brief history of UNIX and how the different flavors of UNIX spun off. There is also good coverage of UNIX standards and how well different operating systems conform to these standards. AUP includes some time comparisons between the different operating systems where their architecture may differ a little. One such example of this is the difference between write and writev.

The book assumes that you know C and have some basic understanding of UNIX systems. It is well written and should get novice UNIX programmers running quickly. For me, the book will be used mostly as a reference, but it is a great reader and given the exercises at the end of each chapter, it will no doubt be used in advanced UNIX college courses. I'd rate the book a must have for all advanced C/UNIX users.


All times are GMT -5. The time now is 11:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration