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

· "O'Reilly Media, Inc."
4.5
18 reviews
Ebook
392
Pages

About this ebook

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 youhave, 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.

Ratings and reviews

4.5
18 reviews
A Google user
June 25, 2008
Unparalleled as an encyclopedia of Linux kernel syscalls. The text may be 80x86-centric but it still manages a thorough and complete enumeration of every system call supported by the 2.6.11 kernel. There is some brief explanation of kernel internals, but the author devotes most of his effort to the description and demonstration of system calls via prose and code examples, respectively. This title would be an indispensable reference to any developer targeting implementation on the Linux kernel.
A Google user
July 10, 2012
This is decent book but i don't understand why Google is selling at rather high price ... I can get it from Amazon for $22.79. It is time for me to leave Google books and join Amazon to save some !
A Google user
December 14, 2007
PDF file 이 곧 나올것 같음...ㅋㅋ

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.