Linux System Programming and over one million other books are available for Amazon Kindle. Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Very Good See details
$21.97 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Kindle Edition
 
   
Sell Back Your Copy
For a $11.92 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Linux System Programming: Talking Directly to the Kernel and C Library
 
 
Start reading Linux System Programming on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Linux System Programming: Talking Directly to the Kernel and C Library [Paperback]

Robert Love (Author)
3.3 out of 5 stars  See all reviews (7 customer reviews)

List Price: $49.99
Price: $30.44 & this item ships for FREE with Super Saver Shipping. Details
You Save: $19.55 (39%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $23.93  
Paperback $30.44  
Sell Back Your Copy for $11.92
Whether you buy it used on Amazon for $21.97 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $11.92.
Used Price$21.97
Trade-in Price$11.92
Price after
Trade-in
$10.05

Book Description

0596009585 978-0596009588 September 25, 2007 1st Ed.

This book is about writing software that makes the most effective use of the system you're running on -- code that interfaces directly with the kernel and core system libraries, including the shell, text editor, compiler, debugger, core utilities, and system daemons. The majority of both Unix and Linux code is still written at the system level, and Linux System Programming focuses on everything above the kernel, where applications such as Apache, bash, cp, vim, Emacs, gcc, gdb, glibc, ls, mv, and X exist.

Written primarily for engineers looking to program (better) at the low level, this book is an ideal teaching tool for any programmer. Even with the trend toward high-level development, either through web software (such as PHP) or managed code (C#), someone still has to write the PHP interpreter and the C# virtual machine. Linux System Programming gives you an understanding of core internals that makes for better code, no matter where it appears in the stack. Debugging high-level code often requires you to understand the system calls and kernel behavior of your operating system, too.

Key topics include:

  • An overview of Linux, the kernel, the C library, and the C compiler
  • Reading from and writing to files, along with other basic file I/O operations, including how the Linux kernel implements and manages file I/O
  • Buffer size management, including the Standard I/O library
  • Advanced I/O interfaces, memory mappings, and optimization techniques
  • The family of system calls for basic process management
  • Advanced process management, including real-time processes
  • File and directories-creating, moving, copying, deleting, and managing them
  • Memory management -- interfaces for allocating memory, managing the memory you have, and optimizing your memory access
  • Signals and their role on a Unix system, plus basic and advanced signal interfaces
  • Time, sleeping, and clock management, starting with the basics and continuing through POSIX clocks and high resolution timers
With Linux System Programming, you will be able to take an in-depth look at Linux from both a theoretical and an applied perspective as you cover a wide range of programming topics.

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Linux System Programming: Talking Directly to the Kernel and C Library + Understanding the Linux Kernel, Third Edition + Linux Kernel Development (3rd Edition)
Price For All Three: $96.62

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Understanding the Linux Kernel, Third Edition $30.32

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Linux Kernel Development (3rd Edition) $35.86

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

About the Author

Robert Love has been a Linux user and hacker since the early days. He is active in, and passionate about, both the Linux kernel and GNOME desktop communities. His recent contributions to the Linux kernel include work on the kernel event layer and inotify. GNOME-related contributions include Beagle, GNOME Volume Manager, NetworkManager, and Project Utopia. Currently Robert works in the Open Source Program Office at Google.

As an author, Robert is responsible for Linux Kernel Development (SAMS), now in its second edition, and Linux System Programming (O'Reilly). He is also a coauthor of the fifth edition of O'Reilly's Linux in a Nutshell. He's a Contributing Editor for Linux Journal, has written numerous articles, and has been invited to speak around the world on Linux.

Robert graduated from the University of Florida with a B.A. in Mathematics and a B.S. in Computer Science. Hailing from South Florida, he currently calls Boston home.


Product Details

  • Paperback: 400 pages
  • Publisher: O'Reilly Media; 1st Ed. edition (September 25, 2007)
  • Language: English
  • ISBN-10: 0596009585
  • ISBN-13: 978-0596009588
  • Product Dimensions: 9.1 x 7.1 x 1 inches
  • Shipping Weight: 1.5 pounds (View shipping rates and policies)
  • Average Customer Review: 3.3 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon Best Sellers Rank: #173,107 in Books (See Top 100 in Books)

More About the Author

Robert Love is an author, speaker, and engineer. He contributes to multiple open source projects, including the Linux kernel, GNOME desktop, and Android mobile platform. Robert is Senior Software Engineer at Google, where he was a member of the team that built Android. Now he works on web search infrastructure. Robert holds a BA in Mathematics and a BS in Computer Science from the University of Florida. He lives in Boston.

 

Customer Reviews

7 Reviews
5 star:
 (2)
4 star:
 (2)
3 star:
 (1)
2 star:    (0)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
3.3 out of 5 stars (7 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

38 of 38 people found the following review helpful:
4.0 out of 5 stars Not quite deep enough, November 15, 2007
By 
Simon Perreault (Québec, QC, Canada) - See all my reviews
(REAL NAME)   
This review is from: Linux System Programming: Talking Directly to the Kernel and C Library (Paperback)
Overall this book is very good. It is particularly well written and enjoyable to read, as are all of Robert Love's previous books.

However, it's fairly small and could go into more detail. For example, I would have liked a discussion of edge-triggered vs. level-triggered epoll() usage. The author mentions that edge-triggered needs a different programming style. What is it? Is it better? Regarding signal handling, the author hints at injecting signals into the event loop, but how could one do it concretely? On the subject of I/O buffering, not much is said except that standard I/O exists. But I'm here for the meat, and I want to know how to implement my own I/O buffering! Pretty much every chapter ends when the fun is about to begin.

I'm still hungry. Nevertheless, every system programmer for Linux should read this book. I hope for an expanded second edition.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


30 of 33 people found the following review helpful:
3.0 out of 5 stars a book full of hints, but seldom tells you how to actually do it, November 22, 2007
This review is from: Linux System Programming: Talking Directly to the Kernel and C Library (Paperback)
I have to agree completely with the previous reviewer that this book lacks meat. In this book, after discussing each issue, the author typically hints that there exists a solution, but does not tell you exactly how to implement the solution. The book is sprinkled with snippets of code that are almost always incomplete, and very rarely explained.
In the Bibliography section, the author did not include two of the most important books that cover related material: 1. "Advanced Programming in the UNIX Environment," by W. Richard Stevens, and 2. "Programming with POSIX Threads," by David R. Butenhof. Perhaps the author did not want readers to compare his book to these two books, because in these two books, every important concept is illustrated with program code examples that are fully compilable, fully working, and fully explained!
The author could make a very significant contribution if only he could follow the examples of the above two books.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


34 of 38 people found the following review helpful:
1.0 out of 5 stars Not worth money, April 12, 2008
This review is from: Linux System Programming: Talking Directly to the Kernel and C Library (Paperback)
If you expect the quality of the author's other books from this book, you'll be disappointed. It just lists system calls and their descriptions that you can find from man pages without any serious examples. It doesn't provide any insight or thorough coverage you can find from other books such as Steven's book (Advance Programmng in Unix environment).

From the book title, I expected the author's insight over interface between user space program and kernel but it just looks like that it copied man pages in some order. If you want to learn sysetm programming in Linux environment, look for other books, seriously.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews





Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
advanced file, advanced process management, mapping files, allocating dynamic memory, inotify events, given file descriptor, mapping files into memory, user buffering, watch descriptor, struct pirate, sets errno appropriately, int signo, readahead window, system time consumed, timespec structure, many symbolic links, foreground process group, anonymous mapping, new binary image, set errno, single system call, errno values, timeval structure, invoking process, int ret
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Real-Time Systems, Memory Management, Concepts of Linux Programming, Locking Limits, Edward Teach, Monitoring File Events, West Indies, Advanced Signal Management, Opening Files, The Event Poll Interface, The Open Group, Kernel Internals
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(2)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!




Look for Similar Items by Category


Look for Similar Items by Subject