Linux System Programming, 2nd Edition
Talking Directly to the Kernel and C Library
Publisher: O'Reilly Media
Final Release Date: May 2013
Pages: 456

Write software that draws directly on services offered by the Linux kernel and core system libraries. With this comprehensive book, Linux kernel contributor Robert Love provides you with a tutorial on Linux system programming, a reference manual on Linux system calls, and an insider’s guide to writing smarter, faster code.

Love clearly distinguishes between POSIX standard functions and special services offered only by Linux. With a new chapter on multithreading, this updated and expanded edition provides an in-depth look at Linux from both a theoretical and applied perspective over a wide range of programming topics, including:

  • A Linux kernel, C library, and C compiler overview
  • Basic I/O operations, such as reading from and writing to files
  • 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
  • Thread concepts, multithreaded programming, and Pthreads
  • File and directory management
  • Interfaces for allocating memory and optimizing memory access
  • Basic and advanced signal interfaces, and their role on the system
  • Clock management, including POSIX clocks and high-resolution timers
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLinux System Programming, 2nd Edition
 
4.5

(based on 17 reviews)

Ratings Distribution

  • 5 Stars

     

    (10)

  • 4 Stars

     

    (5)

  • 3 Stars

     

    (2)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

94%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (13)
  • Accurate (12)
  • Helpful examples (12)
  • Well-written (12)
  • Concise (10)

Cons

    Best Uses

    • Intermediate (12)
    • Student (8)
    • Novice (7)
    • Expert (5)
      • Reviewer Profile:
      • Developer (13), Sys admin (6), Designer (3)

    Reviewed by 17 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

     
    5.0

    UNIX systems programming done right

    By Jenesuispasgoth

    from Newark, DE

    About Me Developer, Educator, Researcher

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate
      • Student

      Comments about oreilly Linux System Programming, 2nd Edition:

      I initially purchased the book to refresh my memory about UNIX systems programming, and learn how to use Linux-specific calls if need be (I have a specific project I want to achieve). While other books are also excellent sources for systems programming (Stevens' UNIX Network Programming, vol. 1 and 2 come to mind), they can be a bit lengthy and too generalist, which means they also are a bit dated when it comes to modern UNIX/Linux features.

      This book is both concise, well written, and gives insights on how to write both "general purpose" UNIX (POSIX) and Linux-specific "low-level" programs using system calls. I have read about 30% of it so far (skipping to some chapters I was most interested in), and everything is very clearly explained, from code examples to use specific features, to trade-offs that have to be made between POSIX/UNIX portability and Linux performance.

       
      5.0

      Loads of useful info - very readable

      By John W

      from Sydney, Australia

      About Me Designer, Developer, Maker

      Verified Buyer

      Pros

      • Accurate
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate

        Comments about oreilly Linux System Programming, 2nd Edition:

        Really gets to grips with the subject, giving lots of background on what Linux System Programming is all about and also what it is not. Loads of useful examples on how to use the Kernel and C Library correctly. The book clears up many points on the difference between user space programming and system programming. The new chapter on Threads I found a little thin. Because the subject matter is mostly new to me and probably to many others I felt it could have been covered in more detail.

        (2 of 5 customers found this review helpful)

         
        3.0

        Style of narration is too rhetorical

        By jne100

        from Moscow

        Comments about oreilly Linux System Programming, 2nd Edition:

        I like this book, except one thing. IMHO style of narration just awful. It was really hard to understand for me as for nonnative speaker. There was no such problems with another books. Every page contain rarely used English words, misleading phrases, unfamiliar idioms, even Latin! If there is little known or not polular synonym for some word - it is definitely will be used. And all this rhetorical prose absolutely makes no sense. It is technical literature after all, not novel or a book of poems.

         
        4.0

        Very good

        By brydling

        from Sweden

        Verified Buyer

        Comments about oreilly Linux System Programming, 2nd Edition:

        This book is a nice read for anyone interested in Linux development.

         
        5.0

        Excellent reference and great read.

        By John

        from Corning, NY

        About Me Developer

        Verified Buyer

        Pros

        • Accurate
        • Concise
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate
          • Novice
          • Student

          Comments about oreilly Linux System Programming, 2nd Edition:

          Well written. Contains a wealth of pertinent information for programming for Linux systems.

           
          5.0

          Met my expectations!

          By Dennis

          from Berlin, DE

          About Me Developer, Sys Admin

          Verified Buyer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Novice
            • Student

            Comments about oreilly Linux System Programming, 2nd Edition:

            Very good for beginners. When you just started, it is a good overview with many code-examples.
            For experienced users, i would recommend another book, more deep in detail and subject.

            For my needs it is a good choice!

             
            5.0

            Excellent book

            By Xazu

            from melbourne

            About Me Developer

            Verified Buyer

            Pros

            • Accurate
            • Concise
            • Helpful examples

            Cons

              Best Uses

              • Intermediate
              • Novice

              Comments about oreilly Linux System Programming, 2nd Edition:

              This book provides a wealth of knowledge in Linux system prog.

               
              5.0

              Fine book, great author

              By Ray

              from Anchorage, AK

              About Me Developer

              Verified Buyer

              Pros

              • Accurate
              • Concise
              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Intermediate

                Comments about oreilly Linux System Programming, 2nd Edition:

                Very well written book. Hits all the bases. Recommended.

                 
                4.0

                Deep dive into the Linux System

                By graphi1

                from Germany

                About Me Sys Admin

                Verified Buyer

                Pros

                • Accurate

                Cons

                • Difficult to understand

                Best Uses

                • Expert

                Comments about oreilly Linux System Programming, 2nd Edition:

                N/A

                 
                5.0

                Fast, to the point with no fluff

                By Surge

                from Toronto, Canada

                About Me Developer

                Verified Buyer

                Pros

                • Accurate
                • Concise
                • Easy to understand
                • Helpful examples
                • Well-written

                Cons

                  Best Uses

                  • Intermediate
                  • Novice
                  • Student

                  Comments about oreilly Linux System Programming, 2nd Edition:

                  The only piece missing from the book is a section on network programming, other than that book can't be better. I just don't have time to read 1700 pages book from another author. With this book I get up to date overview of linux system programming. Can't wait for Robert to write update to his Linux Kernel Development.

                  Displaying reviews 1-10

                  Back to top

                  Previous | Next »

                   
                  Buy 2 Get 1 Free Free Shipping Guarantee
                  Buying Options
                  Immediate Access - Go Digital what's this?
                  Ebook: $50.99
                  Formats:  DAISY, ePub, Mobi, PDF
                  Print & Ebook: $65.99
                  Print: $59.99