FREE Shipping on orders over $25.

Used - Acceptable | See details
 
   
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Advanced Programming in the UNIX(R) Environment (Addison-Wesley Professional Computing Series) [Hardcover]

W. Richard Stevens
4.8 out of 5 stars  See all reviews (64 customer reviews)


Available from these sellers.


Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Hardcover --  
Paperback --  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now
There is a newer edition of this item:
Advanced Programming in the UNIX Environment (2nd Edition) Advanced Programming in the UNIX Environment (2nd Edition) 4.9 out of 5 stars (25)
$57.48
In Stock.

Book Description

June 30, 1992 0201563177 978-0201563177 First Edition
Bestselling UNIX author W. Richard Stevens offers application developers and system programmers his professional, experience-based guidance on using the system call interface with C. In the first half of the book, Stevens describes more than 200 system calls and functions with a brief example program following each description. Having provided the basics, Stevens moves on to chapter-long examples. The book is applicable to all major UNIX releases, especially System V Release 4-including Solaris 2-and 4.4 BSD, including 386 BSD.


Editorial Reviews

From the Back Cover

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 - will want on their bookshelves.

Advanced Programming in the UNIX Environment is applicable to all major UNIX releases, especially System V Release 4 and the latest release of 4.3BSD, including 386BSD. These real-world implementations allow you to more clearly understand the status of the current and future standards, including IEEE POSIX and XPG3.



0201563177B04062001

About the Author

We are deeply saddened to learn of the death of noted author W. Richard Stevens. His passing is obviously a tremendous loss for the technical community, but it is a personal one for us as well. Rich was both a gifted colleague and a valued friend who will be greatly missed. We extend our sympathies to his family.

Obituary from the Arizona Daily Star:

STEVENS, W. Richard, noted author of computer books died on September 1. He is best known for his "UNIX Network Programming" series (1990, 1998, 1999), "Advanced Programming in the UNIX Environment" (1992), and "TCP/IP Illustrated" series (1994, 1995, 1996). Richard was born in 1951 in Luanshya, Northern Rhodesia (now Zambia), where his father worked for the copper industry. The family moved to Salt Lake City, Hurley, New Mexico, Washington, DC and Phalaborwa, South Africa. Richard attended Fishburne Military School in Waynesboro, Virginia. He received a B.SC. in Aerospace Engineering from the University of Michigan in 1973, and an M.S. (1978) and Ph.D. (1982) in Systems Engineering from the University of Arizona. He moved to Tucson in 1975 and from then until 1982 he was employed at Kitt Peak National Observatory as a computer programmer. From 1982 until 1990 he was Vice President of Computing Services at Health Systems International in New Haven, CT, moving back to Tucson in 1990. Here he pursued his career as an author and consultant. He was also an avid pilot and a part-time flight instructor during the 1970's.

He is survived by his loving wife of 20 years, Sally Hodges Stevens; three wonderful children, Bill, Ellen and David; sister, Claire Stevens of Las Vegas, NV; brother, Bob and wife Linda Stevens of Dallas, TX; nieces, Laura, Sarah, Collette, Christy; and nephew, Brad. He is predeceased by his parents, Royale J. Stevens (1915-1984); and Helen Patterson Stevens (1916-1997). Helen lived in Tucson from 1991-1997, and Royale lived here in the early 1930's attending Tucson High School while his father was treated for TB at the Desert Sanitorium (now TMC). The family asks that in lieu of flowers, donations be made in Richard's name to Habitat for Humanity, 2950 E. 22nd Street, Tucson, AZ 85713. A memorial service for Richard will be held at St. Phillip's in the Hills Episcopal Church on Tuesday, September 7th at 12:00 noon. Following the service there will be a reception in the Murphy Gallery of the Church. Please wear colorful clothing to the service; Richard loved colors.

W. Richard Stevens was an acknowledged UNIX and networking expert and the highly-respected author of several books. He was also a sought-after instructor and consultant.



0201563177AB04062001

Product Details

  • Hardcover: 768 pages
  • Publisher: Addison-Wesley Professional; First Edition edition (June 30, 1992)
  • Language: English
  • ISBN-10: 0201563177
  • ISBN-13: 978-0201563177
  • Product Dimensions: 9.2 x 7.8 x 2.2 inches
  • Shipping Weight: 3.2 pounds
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (64 customer reviews)
  • Amazon Best Sellers Rank: #339,136 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.8 out of 5 stars
(64)
4.8 out of 5 stars
This book is praised as "one of the best books in unix programming", even if not the best. Cheung Chi Man  |  16 reviewers made a similar statement
Text is very clear written and examples are just great. Programmer  |  11 reviewers made a similar statement
Most Helpful Customer Reviews
142 of 148 people found the following review helpful
5.0 out of 5 stars A rarity - a great computer book. April 24, 2001
Format:Hardcover
The computer industry is notable for the huge quantity of really bad books it engenders. This, however, is not one of those books - this is a great book. Before explaining why it is great, I'd like to get the table of contents out of the way, so that you will know what it covers:

Preface

1. Introduction (a "whirlwind tour of Unix")

2. Unix Standardization and Implementations

3. File I/O

4. Files and Directories

5. Standard I/O Library

6. System Data Files and Information

7. The Environment of a Unix Process

8. Process Control

9. Process Relationships

10. Signals

11. Terminal I/O

12. Advanced I/O

13. Daemon Processes

14. Interprocess Communication

15. Advanced Interprocess Communication

16. A Database Library

17. Communicating with a PostScript Printer

18. A Modem Dialer

19. Pseudo Terminals

Appendices

A. Function Prototypes

B. Miscellaneous Source Code (all source code is available for download)

C. Solutions to Selected Exercises

Bibliography

Index

The first thing to understand about the book is that while it can be used as just a reference work (the index is wonderful), it really is a book you can and should read. Even if you think you know a lot of this stuff, you can be surprised at what you can still learn.

What makes the book so much more useful than just a collection of man-page print-outs (that dreary and painfully common form of UNIX "book") is the method of presentation. Stevens' basic atom of organization is the function call. For each call (or minor variations on a single call), he provides the C prototype, and then, in text, explains what the function does, what it's arguments are for, and then typically provides a small C program that demonstrates it in action, which he then explains. These function-level building blocks are arranged into related sets, each of which is a chapter in the book. Each chapter has a wrapper that consists of an introduction explaining some basic concepts and history of the functions described in that chapter, and some review exercises at the end. The chapters themselves are arranged so that the earlier chapters describe the basic functions, and the later chapters describe the more difficult functions. Every chapter both teaches the reader something of immediate use in writing code (even the introduction has sample programs), as well as preparing him for the more difficult subjects that lie ahead.

Now for the caveats. Stevens absolutely assumes that you know how to program in C and that you know how to use Unix development tools (or at least that you have some other source from which to learn them). This is not the book to learn how to use C or particular shells, editors, compilers, linkers, or debuggers. Similarly, new Unix variants, such as Linux and MacOS X, receive no specific mention here at all (though the book is invaluable for both). Also, there is no discussion of the various GUI interfaces offered on many current Unix systems - for those, some other book will necessary.

One other thing worth mentioning is the cost of the book. Don't be put off by it - Stevens' book has been justifying that cost for a lot of readers for a lot of years.

In closing, I've been a developer for many years and have owned many computer books. I recommend very few of them, but can't recommend this one highly enough. It is one of the few books I've had that routinely lies open beside me when I work. In addition to my personal recommendation, you might look not only at all the positive reviews for this book, but also at the reviews for "competitive" books and notice how often they refer you back to this one. This book is the standard by which other UNIX programming books are measured, and so far, it has not been surpassed.

Was this review helpful to you?
30 of 30 people found the following review helpful
5.0 out of 5 stars Simply the best, too bad no place for 6th star. August 11, 2000
Format:Hardcover
This is simply the best book that teaches you about Unix system level programming. Almost all system calls are explained in great details along with very comprehensible examples. The author made a claim that this book is not a mere repetition of Unix Programmer's Manual as the manual lacks logic and examples which this book provides. I think he really lived up to that claim.

Many difficult topics are made so easy to grasp, sometimes I think this book should be retitled "Advanced Unix Programming Made Easy". The explanation are smooth with pointers to previously discussed concepts just in case you're lost. Each chapter comes with a number of exercises to try your understanding of the chapter, and most of the answers are available in the appendix of the book so this book is also great for self-learners. Before reading this book, I have read "Advanced Unix Programming" by Marc J. Rochkind, and I was confused by many things the guy said in the book plus the code is pretty outdated already and this book just filled in the gaps I had.

The explanation is not geared towards any flavor of Unix, but pretty much all the mainstream Unix flavors such as BSD, SVR4, etc. So that gives a pretty wide horizon of view into Unix in general. I'm personally very impressed with his explanations on signal concept and concurrency controls.

This book will provide a solid background for anyone wishing to become Unix/Linux kernel hacker. An investment worth every penny. Beware though, you must have a solid C programming background if you want to reap the maximum benefit out of this book. I found out that it's also a good idea to have K&R "C Programming Language" book around just in case you got confused with pointers, arrays and friends. This guy knows exactly what he is talking about and he expects you to know enough to understand him.

Comment | 
Was this review helpful to you?
18 of 19 people found the following review helpful
5.0 out of 5 stars Nothing better than this book. March 20, 2000
Format:Hardcover
The only complete reference for programmers working in the UNIX enviroment. Not just a reference book but a very well guide to learn fundamentals of UNIX programming. Everything you want to know about UNIX programming. Signal handling, file system, I/O and lots of other chapters about advanced programming with UNIX. If you're looking a book to develop "real" advanced apps. or to join the development of Linux kernel and other open system projects, this is the FIRST book you must buy...

It's sad to say this but the author of this book; the big guru, Richard Stevens is nomore with us. rest it peace guru...

Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Thorough coverage of the topic
This book covers the history of SysV and BSD unix as it pertains to programming, outlines the standards used and how implementations of Unix measure up to standards, and covers the... Read more
Published on December 6, 2010 by rocket357
5.0 out of 5 stars There is no other
Any serious programmer should read this book, regardless of programming language or system used. Even if you use Windows or something else normally, skimming over this book and... Read more
Published on October 7, 2010 by NATHANIEL D HARWARD
5.0 out of 5 stars Great book: get the 2nd edition
The second edition was published in June 2005. Unless you're a computer historian, get the new one:

(...)
Great book. Read more
Published on July 20, 2005 by Larry West
5.0 out of 5 stars Classic work - but in series need of updates as time goes on
I cannot fathom a guess as to how many times the books in this series have saved my in project work over the years. Read more
Published on May 5, 2005 by David Sharpe
5.0 out of 5 stars A Unix Programmers Bible
This is an essential book for any serious or professional Unix programmer.

Written in a clear paedagogical style, Professor Stevens demonstrates mastery of the subject, and his... Read more

Published on July 6, 2004 by Mike
5.0 out of 5 stars Lucid Explanations to understand UNIX !
This is inarguably the best book you can find to learn UNIX programming. Not only is everything that is required clearly explained with examples, the author goes out of his way to... Read more
Published on February 1, 2004 by Prithviraj Sharan
5.0 out of 5 stars "A Reader" from MI rates it one star?
How could anyone objectively rate this incredible text at one star!? Have you read any of it or do you just pick books to "dis"? Read more
Published on October 6, 2003 by Michael Milligan
5.0 out of 5 stars Great book
The book is invaluable. The topics are covered clearly and deeply, this book is written with the word "teaching" in mind. Read more
Published on September 11, 2003 by Federico Zancan
5.0 out of 5 stars Great book
I loved this book. You can open it anywhere and read it from there.
Text is very clear written and examples are just great. Read more
Published on May 20, 2003 by Programmer
5.0 out of 5 stars One of Two Must-Have UNIX Books
This is one of two must-have UNIX books ("UNIX Network Programming" and "Advanced Programming for the UNIX Environment"). Read more
Published on March 3, 2003 by Randy Given
Search Customer Reviews
Only search this product's reviews


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category