The Linux Programming Interface is the definitive advisor 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 professional Michael Kerrisk presents special descriptions of the approach calls and library services that you simply desire on the way to grasp the craft of procedure programming, and accompanies his causes with transparent, entire instance programs.
You'll locate descriptions of over 500 approach calls and library features, and greater than 2 hundred instance courses, 88 tables, and one hundred fifteen diagrams. you will find out how to:
- Read and write records efficiently
- Use signs, clocks, and timers
- Create tactics and execute programs
- Write safe programs
- Write multithreaded courses utilizing POSIX threads
- Build and use shared libraries
- Perform interprocess verbal exchange 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 approach, its emphasis on UNIX criteria (POSIX.1-2001/SUSv3 and POSIX.1-2008/SUSv4) makes it both worthwhile 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 develop into a brand new classic.
Praise for The Linux Programming Interface
"If I needed to select a unmarried booklet to take a seat subsequent to my desktop whilst writing software program for Linux, this may be it."—Martin Landers, software program Engineer, Google
"This e-book, with its distinctive descriptions and examples, includes every 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 an exceptional publication approximately Linux programming and the way it pertains to numerous criteria, yet has additionally taken care that insects he spotted acquired fastened and the guy pages have been (greatly) stronger. In all 3 ways, he has made Linux programming more uncomplicated. The in-depth therapy of issues in The Linux Programming Interface . . . makes it a must have reference for either new and skilled Linux programmers."—Andreas Jaeger, software supervisor, openSUSE, Novell
"Michael's inexhaustible decision to get his details correct, and to precise it in actual fact and concisely, has ended in a powerful reference resource for programmers. whereas this paintings is concentrated at Linux programmers, it will likely 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 procedure and community programming, with an emphasis on Linux platforms. it truly is definitely a e-book i might suggest to anyone eager to get into UNIX programming (in normal) or to skilled UNIX programmers desirous to understand 'what's new' within the renowned GNU/Linux system."—Fernando Gont, community safety Researcher, IETF player, and RFC Author
". . . encyclopedic within the breadth and intensity of its assurance, and textbook-like in its wealth of labored examples and workouts. each one subject is obviously and comprehensively coated, from idea to hands-on operating code. execs, scholars, educators, this can be the Linux/UNIX reference that you've been ready for."—Anthony Robins, affiliate Professor of machine technological know-how, The college of Otago
"I've been very inspired through the precision, the standard and the extent of element Michael Kerrisk installed his e-book. he's a good specialist of Linux process calls and shall we us percentage his wisdom and realizing of the Linux APIs."—Christophe Blaess, writer of Programmation systeme en C sous Linux
". . . an important source for the intense or expert Linux and UNIX platforms programmer. Michael Kerrisk covers using all of the key APIs throughout either the Linux and UNIX process interfaces with transparent descriptions and educational examples and stresses the significance and advantages of following criteria comparable to the one UNIX Specification and POSIX 1003.1."—Andrew Josey, Director, criteria, The Open staff, and Chair of the POSIX 1003.1 operating Group
"What can be larger than an encyclopedic connection with the Linux approach, from the perspective of the procedure programmer, written via none except the maintainer of the guy pages himself? The Linux Programming Interface is entire and special. I firmly anticipate it to turn into an quintessential addition to my programming bookshelf."—Bill Gallmeister, writer of POSIX.4 Programmer's consultant: Programming for the true World
". . . the main entire and updated e-book approximately Linux and UNIX approach programming. if you are new to Linux procedure programming, if you are a UNIX veteran thinking about portability whereas attracted to studying the Linux approach, or in case you are easily searching for an exceptional reference concerning the Linux programming interface, then Michael Kerrisk's e-book is well the significant other you will want in your bookshelf."—Loic Domaigne, leader software program Architect (Embedded), Corpuls.com