Advanced Programming in the UNIX Environment (Addison-Wesley Professional Computing Series)

Advanced Programming in the UNIX Environment (Addison-Wesley Professional Computing Series)

  • Downloads:1850
  • Type:Epub+TxT+PDF+Mobi
  • Create Date:2021-11-02 09:55:02
  • Update Date:2025-09-06
  • Status:finish
  • Author:W. Richard Stevens
  • ISBN:0321637739
  • Environment:PC/Android/iPhone/iPad/Kindle

Summary

"This is the definitive reference book for any serious or professional UNIX systems programmer。 Rago has updated and extended the original Stevens classic while keeping true to the original。"

—Andrew Josey, Director, Certification, The Open Group, and Chair of the POSIX 1003。1 Working Group

For over a decade, serious C programmers have relied on one book for practical, in-depth knowledge of the programming interfaces that drive the UNIX and Linux kernels: W。 Richard Stevens' Advanced Programming in the UNIX® Environment。 Now, Stevens' colleague Stephen Rago has thoroughly updated this classic to reflect the latest technical advances and add support for today's leading UNIX and Linux platforms。

Rago carefully retains the spirit and approach that made this book a classic。 Building on Stevens' work, he begins with basic topics such as files, directories, and processes, carefully laying the groundwork for understanding more advanced techniques, such as signal handling and terminal I/O。

Substantial new material includes chapters on threads and multithreaded programming, using the socket interface to drive interprocess communication (IPC), and extensive coverage of the interfaces added to the latest version of the POSIX。1 standard。 Nearly all examples have been tested on four of today's most widely used UNIX/Linux platforms: FreeBSD 5。2。1; the Linux 2。4。22 kernel; Solaris 9; and Darwin 7。4。0, the FreeBSD/Mach hybrid underlying Apple's Mac OS X 10。3。

As in the first edition, you'll learn through example, including more than 10,000 lines of downloadable, ANSI C source code。 More than 400 system calls and functions are demonstrated with concise, complete programs that clearly illustrate their usage, arguments, and return values。 To tie together what you've learned, the book presents several chapter-length case studies, each fully updated for contemporary environments。

Advanced Programming in the UNIX® Environment has helped a generation of programmers write code with exceptional power, performance, and reliability。 Now updated for today's UNIX/Linux systems, this second edition will be even more indispensable。

Download

Reviews

Sanjeev

One of my favorite books。

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。 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。 。。。more

Drobinsky Alexander

Excellent reference to modern POSIX API。

Kevin Yee

Solid text。

Thang

Very good book to learn programming in UnixI read till chaper 8, I will read again sometime

Jim Reprogle

Top notch book from Stevens。 Should be required reading in all CompSci programs。

Arun

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

Jack-Benny

A really good book about programming in UNIX。 I've learned a great deal from this book。 From time to time it can be a bit boring and cumbersome, but overall an excellent book。 A really good book about programming in UNIX。 I've learned a great deal from this book。 From time to time it can be a bit boring and cumbersome, but overall an excellent book。 。。。more

Amit Bongir

Explanation with code is done elegantly。 The author mentions concepts/code from previous chapters in every section that needs them。

Xavier G。

Quote:Earlier versions of the UNIX System did not have the mkdir function; it was introduced with4。2BSD and SVR3。 In the earlier versions, a process had to call the mknod function to create anew directory — but use of the mknod function was restricted to superuser processes。 Tocircumvent this constraint, the normal command that created a directory, mkdir(1), had to beowned by root with the set-user-ID bit on。 To create a directory from a process, the mkdir(1)command had to be invoked with the sy Quote:Earlier versions of the UNIX System did not have the mkdir function; it was introduced with4。2BSD and SVR3。 In the earlier versions, a process had to call the mknod function to create anew directory — but use of the mknod function was restricted to superuser processes。 Tocircumvent this constraint, the normal command that created a directory, mkdir(1), had to beowned by root with the set-user-ID bit on。 To create a directory from a process, the mkdir(1)command had to be invoked with the system(3) function。 。。。more

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。

Michael Isaac

One of the best books I've ever read discussing UNIX。 One of the best books I've ever read discussing UNIX。 。。。more

Asem Nofal

Helped me a lot to understand how the standard library is implemented

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。 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。 。。。more

Tom Ludwig

If you program for Unix/Linux, you need this book。 It is that simple。

Darrell Ulm

A good book on the subject of Unix Systems Programming, additional reference is usually needed as expected。

Bernard Ndegwa

If you need an example when in doubt of how the standard library implements a function this is the book to go to。

Cathy_chang

A great book

Kurt Schwehr

Read this around 1995-6 from front to back。

Dave Peticolas

Stevens's masterful tome covering the UNIX system calls。 Stevens's masterful tome covering the UNIX system calls。 。。。more

Aurimas Mikalauskas

Gave me a good understanding of unix internals which was exactly the goal I had when picking up this book。

Zhibinw

This review has been hidden because it contains spoilers。 To view it, click here。 good book to learn unix programming interfaces。

Mark

Stevens had an amazing ability to simply and clearly explain technical topics that can be quite complex。 While I knew quite a bit about UNIX system programming, these book helped pull this topic together in a more complete way that I could have on my own, or by reading several other books。 I still find myself regularly reaching for this book。

Prashanth

+ Comprehensive, both in breadth, and in depth- DryCompared 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。 + Comprehensive, both in breadth, and in depth- DryCompared 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。 。。。more

Pete

A stunningly well written book on how to harness the UNIX programming environment。 It is a tome worth reading。 Highly recommended。

Emil Petkov

Awesome, want to find the time and the persistence to read the next five in the series。。。

Qubitng

First read this in my first year after college graduation。 There is fantastic clarity in exposition and I absolutely loved the book/page layout and font standards。 It really hooked me into the whole Unix philosophy。 Absolutely one of the best written and best-looking programming books。

Bhas Karan

i want to read this book entirely。

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。

Michael Steinfeld

Biblical!