LWN.net Logo

New book: "The Linux Programming Interface"

From:  Travis Peterson <nostarchpr-AT-oreilly.com>
To:  lwn-AT-lwn.net
Subject:  The Linux Programming Interface--New from No Starch Press
Date:  Thu, 30 Sep 2010 09:09:54 -0700
Message-ID:  <1285862994.19201.0.932772@post.oreilly.com>
Archive-link:  Article, Thread

If you would like to view this information in your browser, click here:
http://post.oreilly.com/rd/9z1zl46i83lpch8uiqbub7ocuaoo9o...

For Immediate Release
For more information, please contact:
Travis Peterson nostarchpr@oreilly.com or 415.863.9900 x300

The Linux Programming Interface--New from No Starch Press
The New, Definitive Linux and UNIX System Programming Handbook

San Francisco, CA, September 30, 2010--"The Linux Programming Interface" (No Starch Press, October
2010, 1552 pp., $99.95, ISBN 9781593272203) is the definitive guide to the Linux and UNIX
programming interface--the interface employed by nearly every application that runs on a Linux or
UNIX system. In this extraordinarily thorough work, Michael Kerrisk, longtime maintainer of the
Linux man-pages project, explains the "how and why" of using the hundreds of system calls and
library functions needed to master system programming. A large number of example programs, tables,
and diagrams round out the discussion.

It can be difficult and time-consuming to learn how to develop system programs for Linux. It's not
unusual for programmers to scour several manuals--or hundreds of web pages--before finding the
information they need. According to Michael Kerrisk, "'The Linux Programming Interface' is the book
I wanted when I first switched from UNIX to predominantly working in Linux more than a decade ago."
He added that it is "...a broad and deep system programming book that covers Linux-specific details
while also clearly delineating standard features available on all UNIX systems. Long before I
completed writing this book, it had already become my own primary system programming reference."

In "The Linux Programming Interface" readers learn how to:

- Read and write files efficiently
- Use signals, clocks, and timers
- Create processes and execute programs
- Write secure programs
- Write multithreaded programs using POSIX threads
- Build and use shared libraries
- Perform interprocess communication using pipes, message queues, shared memory, and semaphores
- Write network applications with the sockets API

No other book on the market offers the depth and breadth of "The Linux Programming Interface." This
is sure to become the go-to guide for anyone developing system applications for Linux and UNIX
platforms.

For more information or to request a review copy of The Linux Programming Interface, contact Travis
Peterson at No Starch Press (nostarchpr@oreilly.com, +1.415.863.9900, x300), or visit
www.nostarch.com.

About the Author
Michael Kerrisk has been using and programming UNIX systems for more than 20 years, and has taught
many week-long courses on UNIX system programming. Since 2004, he has maintained the man-pages
project (http://post.oreilly.com/rd/9z1z5va9v05g7vfj8p2q1hvcv9g55l...), which produces
the manual pages describing the Linux kernel and glibc programming APIs. He has written or
co-written more than 250 of the manual pages and is actively involved in the testing and design
review of new Linux kernel-userspace interfaces. Michael lives with his family in Munich, Germany.

Additional Resources
Chapter 4: "File I/O: The Universal I/O Model" (PDF):
http://post.oreilly.com/rd/9z1zs8gl5kgir1s6ndb7vjg4qpfrd4...
Chapter 24: "Process Creation" (PDF):
http://post.oreilly.com/rd/9z1zgq8sckm5h34eb7p5e7fl5it6v3...
Chapter 52: "POSIX Message Queues" (PDF):
http://post.oreilly.com/rd/9z1zefci7fkjd54btqlfgjh79ufcha...
Table of Contents Overview: http://post.oreilly.com/rd/9z1zlhkcbe631b75o1inifpv4nnh4m...
Detailed Table of Contents (PDF):
http://post.oreilly.com/rd/9z1zkc5cv1potmudgaoqr6puscqr9h...
No Starch Press Catalog Page:
http://post.oreilly.com/rd/9z1zjnmqeo2ttb5k14ps5fr9c9ko9b...
Author's Website: http://post.oreilly.com/rd/9z1za7sn66tbqnk57l4ppma956c7sd...

The Linux Programming Interface
by Michael Kerrisk
October 2010, 1552 pp
ISBN 9781593272203, $99.95 USD
order@oreilly.com
1-800-998-9938
1-707-827-7000

Available in fine bookstores everywhere, from www.oreilly.com/nostarch, or directly from No Starch
Press (http://post.oreilly.com/rd/9z1zlj64b33vn6sd0jis3753dpasnm..., orders@nostarch.com,
1-800-420-7240).

About No Starch Press
Founded in 1994, No Starch Press is one of the few remaining independent computer book publishers.
We publish the finest in geek entertainment--unique books on technology, with a focus on open
source, security, hacking, programming, alternative operating systems, LEGO, science, and math. Our
titles have personality, our authors are passionate, and our books tackle topics that people care
about. Visit http://post.oreilly.com/rd/9z1zss545p8r8pbkc7malc1ks2t5ll... for a complete
catalog.

About O'Reilly
O'Reilly Media spreads the knowledge of innovators through its books, online services, magazines,
and conferences. Since 1978, O'Reilly Media has been a chronicler and catalyst of cutting-edge
development, homing in on the technology trends that really matter and spurring their adoption by
amplifying "faint signals" from the alpha geeks who are creating the future. An active participant
in the technology community, the company has a long history of advocacy, meme-making, and
evangelism.

# # #

O'Reilly is a registered trademark of O'Reilly Media, Inc. All other trademarks are the property of
their respective owners.

You are receiving this email because you are a public relations contact with O'Reilly Media, a
distributor for No Starch Press.

If you would like to stop receiving any and all press releases from O'Reilly, please email
press@oreilly.com.

O'Reilly Media is a Distributor for No Starch Press
O'Reilly Media, Inc. 1005 Gravenstein Highway North, Sebastopol, CA 95472   (707) 827-7000




(Log in to post comments)

New book: "The Linux Programming Interface"

Posted Sep 30, 2010 21:20 UTC (Thu) by tjc (guest, #137) [Link]

I made a hasty decision and pre-ordered a copy. It looks like this could be the successor to "Advanced Programming in the UNIX Environment," by the late W. Richard Stevens.

I'm not crazy about the cover-- what is that thing?

New book: "The Linux Programming Interface"

Posted Sep 30, 2010 21:23 UTC (Thu) by nteon (✭ supporter ✭, #53899) [Link]

It's a fiddlehead fern.

New book: "The Linux Programming Interface"

Posted Oct 3, 2010 14:04 UTC (Sun) by michaelk (subscriber, #1978) [Link]

Or, even more precisely: http://blog.man7.org/2009/12/working-towards-cover.html

New book: "The Linux Programming Interface"

Posted Sep 30, 2010 21:36 UTC (Thu) by Cyberax (subscriber, #52523) [Link]

Doesn't feel great.

Look, there are tons of books about threads and signals. These features are ancient and quite well documented.

What I'd like to see is a book about Linux-specific things. Like /proc and /sys filesystems and their usage, /dev tree and udev, SELinux and programmatic interface for it (like ability to use security labels in your own app), DBUS, PolicyKit and so on.

A lot of system-level things are not covered at all. For example, who can name the path for X's local socket which is used by applications to connect to X server?

As far as I know, there is nothing like it. Personally, I subscribe to LWN because it's the _only_ site which covers these topics. LWN's archives were the greatest help for me when I had to do non-trivial system programming in Linux so I feel obliged to support it.

Hm. Maybe I should write one?

New book: "The Linux Programming Interface"

Posted Oct 1, 2010 1:40 UTC (Fri) by ajd (guest, #58225) [Link]

Looking through the table of contents it seems to be about 90/10 split on "standard" stuff and Linux specific stuff. There's a chapter on /proc, one on capabilities, and some advanced I/O that is Linux specific.

I would also rather see more Linux specific items than what seems to be a rehash of AUP and UNP.

New book: "The Linux Programming Interface"

Posted Oct 1, 2010 7:01 UTC (Fri) by nix (subscriber, #2304) [Link]

And 90/10 is about the right ratio, I'd say. Like it or not, for many of us portability to Solaris at least really *is* still important, and that 90% is going to be where most of our attention is concentrated for some time to come.

New book: "The Linux Programming Interface"

Posted Oct 1, 2010 8:23 UTC (Fri) by Cyberax (subscriber, #52523) [Link]

But that's not the point.

There are good books about POSIX interface, but there is no good books about _Linux_ interface.

New book: "The Linux Programming Interface"

Posted Oct 1, 2010 2:05 UTC (Fri) by jcm (subscriber, #18262) [Link]

I think I'll pre-order a copy. Claims to be past publication date but Amazon don't have any stock yet.

New book: "The Linux Programming Interface"

Posted Oct 1, 2010 5:14 UTC (Fri) by corbet (editor, #1) [Link]

Michael had a copy in Nuremberg, but he said there were some production problems which were delaying availability. It should be out sometime soon. Go to the gym and keep your upper-body strength up, though - that book is a real cinderblock.

New book: "The Linux Programming Interface"

Posted Oct 3, 2010 2:59 UTC (Sun) by tjc (guest, #137) [Link]

Looks like it's going to be a while yet:
Hello from Amazon.com.

We now have delivery date(s) for the order you placed on September 30 2010 (Order# ***-*******-*******):
 
  Michael Kerrisk "The Linux Programming Interface: A Linux and UNIX System Programming Handbook"
    Estimated arrival date: November 08 2010 - January 31 2011

New book: "The Linux Programming Interface"

Posted Oct 3, 2010 14:39 UTC (Sun) by michaelk (subscriber, #1978) [Link]

Looks like it's going to be a while yet:
Hello from Amazon.com. We now have delivery date(s) for the order you placed on September 30 2010 (Order# ***-*******-*******): Michael Kerrisk "The Linux Programming Interface: A Linux and UNIX System Programming Handbook" Estimated arrival date: November 08 2010 - January 31 2011
With a bit of luck, we may do better than that: http://blog.man7.org/2010/10/revised-publication-date.html

New book: "The Linux Programming Interface"

Posted Oct 1, 2010 8:25 UTC (Fri) by SimonO (subscriber, #56318) [Link]

I can't understand why this kind of book still needs to be printed on 1500 pages of dead tree stuff. Isn't this what e-readers are ideal for now?

I'd prefer a searchable file over dead tree stuff for this kind of data, even without an e-reader.

(NB, I still don't have an e-reader myself, because I don't think the market has matured enough and prices of e-books are still way too high)

/Simon

New book: "The Linux Programming Interface"

Posted Oct 1, 2010 10:21 UTC (Fri) by RCL (guest, #63264) [Link]

So you kind of answered your own question.

New book: "The Linux Programming Interface"

Posted Oct 1, 2010 12:41 UTC (Fri) by dambacher (subscriber, #1710) [Link]

Sometimes you are slower to find the correct file and file position on an e-reader. Not to mention searching google search results for it ...

Grepping the bookshelf for a specially colored (and picutred) brick and then unfolding it at the (previously) marked position may be faster. And you can color mark on it. Try this with your e-reader.

/dambacher

New book: "The Linux Programming Interface"

Posted Oct 1, 2010 12:49 UTC (Fri) by JFlorian (subscriber, #49650) [Link]

True enough, but a well linked document is much more efficient when you need to read related sections that aren't necessarily grouped together. That said, I have a Kindle and think it's wonderful for novels, but I would never dream of it for technical reference.

I want great technical books via a web service that has a reasonable annual reader price, like LWN. Further, the book should be living such that readers can provide improvements, corrections or updates and get compensated for their contributions. The author does the original work then he (or someone else) transitions into the master maintainer.

New book: "The Linux Programming Interface"

Posted Oct 1, 2010 22:04 UTC (Fri) by rstreeks (subscriber, #1018) [Link]

All e-readers are great for pleasure reading, but the screen is to small for reading documentation. You have to page back and forth to much if there is a figure referenced in the text.

New book: "The Linux Programming Interface"

Posted Oct 1, 2010 22:22 UTC (Fri) by dlang (✭ supporter ✭, #313) [Link]

this is one of the reasons I upgraded to the ~10" screen on the kindle DX.

still not as good as a 8x10 page, but a very significant step up from the 6" screen.

i still haven't made up my mind on the electronic vs paper for reference material.

the paper is much better for skimming through (although the new kindle DX with it's faster page turns may help here)

the paper is better if you are the type to remember approximately where something is and can flip though the pages until you recognize something.

the electronic is better if you have specific text you want to search for

the electronic is better because you can always have it with you (even a clumsy lookup that you can get to is better than an easy lookup that's several miles away)

the nice thing is that many publishers are making deals where you can get both for about the price of the paper copy (of the most recent two books that I've purchased, one gave me a free electronic copy, the other charged $4 for the electronic copy)

some books need color, but most do not, even most of the ones with charts and images.

New book: "The Linux Programming Interface"

Posted Oct 4, 2010 15:19 UTC (Mon) by fb (subscriber, #53265) [Link]

I also have a Kindle DX (the new graphite one). For technical and reference material my thoughts are as follows:

- paper is easier to skim through;
- it is harder to annotate something on an e-reader, but a lot easier to back-up/keep the notes afterwards
- the DX screen size is very often a perfect fit for PDFs of scientific articles.
- IMO Latex default fonts (i.e. Computer Modern) are particularly bad for the low resolution of e-readers
- for sequential reading, given the choice between my e-reader (with decent fonts) and a paper version, I normally prefer the e-reader.

New book: "The Linux Programming Interface"

Posted Oct 8, 2010 9:59 UTC (Fri) by rwmj (subscriber, #5474) [Link]

Amazon.co.uk are wanting £78 ...

New book: "The Linux Programming Interface"

Posted Oct 12, 2010 9:52 UTC (Tue) by Tet (subscriber, #5433) [Link]

...and that's pretty much the only reason I won't be ordering it. Michael's a smart guy. I met him at a UKUUG conference (Cambridge?) a while back, and he clearly knows what he's talking about. But 78 quid is just too much.

New book: "The Linux Programming Interface"

Posted Oct 14, 2010 22:36 UTC (Thu) by nix (subscriber, #2304) [Link]

$62.97 from amazon.com at the moment, 39-something quid (plus ten quid or so postage). Still a lot, but closer to the typical range for computer textbooks.

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds