Advanced Programming in the Unix Environment

  • W. Richard Stevens
  • Addison Wesley
  • ISBN: 0-201-56317-7

Order (or just read more about) Advanced Programming from Amazon.com

This is the nitty-gritty reference and programming guide for Unix.


Hate these ads?

The information found here is not in the manuals, is not in the include files, but is here.

Stevens covers both System V Release 4 and 4.4BSD. This adds tremendous value, especially for those of us who sometimes need to port things from here to there or back again.

Stevens approaches the subject by breaking it down into major chunks. Chapter 3, for example, is File I/O. He briefly introduces the subject, explains file descriptors and the conventions of their enumeration, notes the POSIX constants and discusses limits. He then jumps into actual calls, starting (of course) with open().

As would be expected, Stevens details open()'s arguments, the include's necessary, and the possible returns. You could get that from a man page, but Stevens takes it further, discussing the variances of SVR4 and 4.3BSD vs. POSIX. He covers the rest of the related calls (creat, close,lseek,read,write), giving examples and showing output from those examples, and then jumps into I/O efficiency, file sharing, appending, dup'ing file descriptors and so on. He therefor covers File I/O as completely as you could ask for, and this, of course, is just one chapter.

Stevens writing is clear, his examples are useful, and his level of detail is wonderful. This is a must have book for anyone programming on Unix.



Comments /Books/stevens.html


Add your comments

M3IP inc.

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner

cartoon
Need eyes on the ground at your customer's site?
Installation and light training Boston and New England
Reliable and experienced, punctual and professional.

Views for this page
Today This Week This Month This Year  Overall
82620658 3,649

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

pavatar.jpg
More:
       - Programming




Unix/Linux Consultants

Your ad here - $24.00 yearly!

http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering


http://www.breakthru.com.au SCO (Openserver and Unixware), Unix, Solaris and Linux Consulting services including: Secure Networking Solutions; Linux based Firewalls; Backup Solutions; Secure Home to Office Network Setup; Phone, Remote and On-Site Support available - Satisfaction Guaranteed!


larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting




Twitter
  • Jun 26 21:28
    Lost 5 cents at poker tonight. Hard to do with 10 and 20 cent betting..
  • Jun 23 07:01
    Hypermiling:









Change Congress

Related Posts