The Linux Programming Interface is the definitive consultant to the Linux and UNIX programming interface—the interface hired by means of approximately each program that runs on a Linux or UNIX system.
In this authoritative paintings, Linux programming specialist Michael Kerrisk offers designated descriptions of the procedure calls and library features that you simply desire so as to grasp the craft of method programming, and accompanies his factors with transparent, whole instance programs.
You'll locate descriptions of over 500 process calls and library services, and greater than 2 hundred instance courses, 88 tables, and one hundred fifteen diagrams. you are going to learn the way to:
- Read and write documents efficiently
- Use signs, clocks, and timers
- Create strategies and execute programs
- Write safe programs
- Write multithreaded courses utilizing POSIX threads
- Build and use shared libraries
- Perform interprocess conversation utilizing pipes, message queues, shared reminiscence, and semaphores
- Write community functions with the sockets API
While The Linux Programming Interface covers a wealth of Linux-specific gains, together with epoll, inotify, and the /proc dossier procedure, its emphasis on UNIX criteria (POSIX.1-2001/SUSv3 and POSIX.1-2008/SUSv4) makes it both necessary to programmers engaged on different UNIX platforms.
The Linux Programming Interface is the main accomplished single-volume paintings at the Linux and UNIX programming interface, and a booklet that is destined to turn into a brand new classic.
Praise for The Linux Programming Interface
"If I needed to select a unmarried publication to sit down subsequent to my computer whilst writing software program for Linux, this might be it."—Martin Landers, software program Engineer, Google
"This e-book, with its specific descriptions and examples, includes every little thing you want to comprehend the main points and nuances of the low-level programming APIs in Linux . . . it doesn't matter what the extent of reader, there'll be whatever to be learnt from this book."—Mel Gorman, writer of Understanding the Linux digital reminiscence Manager
"Michael Kerrisk has not just written a very good publication approximately Linux programming and the way it pertains to quite a few criteria, yet has additionally taken care that insects he spotted received fastened and the fellow pages have been (greatly) stronger. In all 3 ways, he has made Linux programming more straightforward. The in-depth remedy of issues in The Linux Programming Interface . . . makes it essential reference for either new and skilled Linux programmers."—Andreas Jaeger, software supervisor, openSUSE, Novell
"Michael's inexhaustible selection to get his info correct, and to precise it essentially and concisely, has ended in a robust reference resource for programmers. whereas this paintings is concentrated at Linux programmers, it is going to be of worth to any programmer operating within the UNIX/POSIX ecosystem."—David Butenhof, writer of Programming with POSIX Threads and Contributor to the POSIX and UNIX Standards
". . . a truly thorough—yet effortless to read—explanation of UNIX process and community programming, with an emphasis on Linux platforms. it truly is definitely a publication i might suggest to anyone eager to get into UNIX programming (in normal) or to skilled UNIX programmers eager to be aware of 'what's new' within the renowned GNU/Linux system."—Fernando Gont, community defense Researcher, IETF player, and RFC Author
". . . encyclopedic within the breadth and intensity of its insurance, and textbook-like in its wealth of labored examples and workouts. every one subject is obviously and comprehensively lined, from idea to hands-on operating code. execs, scholars, educators, this can be the Linux/UNIX reference that you've got been ready for."—Anthony Robins, affiliate Professor of desktop technology, The collage of Otago
"I've been very inspired by way of the precision, the standard and the extent of aspect Michael Kerrisk installed his booklet. he's an outstanding specialist of Linux approach calls and we could us proportion his wisdom and knowing of the Linux APIs."—Christophe Blaess, writer of Programmation systeme en C sous Linux
". . . a necessary source for the intense or specialist Linux and UNIX platforms programmer. Michael Kerrisk covers using the entire key APIs throughout either the Linux and UNIX method interfaces with transparent descriptions and instructional examples and stresses the significance and merits of following criteria comparable to the one UNIX Specification and POSIX 1003.1."—Andrew Josey, Director, criteria, The Open team, and Chair of the POSIX 1003.1 operating Group
"What should be larger than an encyclopedic connection with the Linux approach, from the perspective of the process programmer, written through none except the maintainer of the fellow pages himself? The Linux Programming Interface is entire and exact. I firmly anticipate it to turn into an critical addition to my programming bookshelf."—Bill Gallmeister, writer of POSIX.4 Programmer's consultant: Programming for the true World
". . . the main entire and up to date ebook approximately Linux and UNIX procedure programming. if you are new to Linux procedure programming, in case you are a UNIX veteran involved in portability whereas attracted to studying the Linux method, or if you are easily searching for a superb reference concerning the Linux programming interface, then Michael Kerrisk's publication is well the better half you will want in your bookshelf."—Loic Domaigne, leader software program Architect (Embedded), Corpuls.com