The Linux Programming Interface: A Linux and UNIX System by Michael Kerrisk
By Michael Kerrisk
The Linux Programming Interface is the definitive advisor to the Linux and UNIX programming interface—the interface hired via approximately each program that runs on a Linux or UNIX system.
In this authoritative paintings, Linux programming specialist Michael Kerrisk offers certain descriptions of the method calls and library features that you just desire in an effort to grasp the craft of method programming, and accompanies his factors with transparent, entire instance programs.
You'll locate descriptions of over 500 procedure calls and library services, and greater than 2 hundred instance courses, 88 tables, and a hundred and fifteen diagrams. You'll find out how to:
• learn and write records efficiently
• Use indications, clocks, and timers
• Create strategies and execute programs
• Write safe programs
• Write multithreaded courses utilizing POSIX threads
• construct and use shared libraries
• practice 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 worthy to programmers engaged on different UNIX platforms.
The Linux Programming Interface is the main complete single-volume paintings at the Linux and UNIX programming interface, and a ebook that's destined to turn 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 computer whilst writing software program for Linux, this may be it." Martin Landers, software program Engineer, Google
"This e-book, with its special descriptions and examples, comprises 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 anything to be learnt from this book." Mel Gorman, writer of Understanding the Linux digital reminiscence Manager
"Michael Kerrisk has not just written an excellent e-book approximately Linux programming and the way it pertains to a number of criteria, yet has additionally taken care that insects he spotted bought fastened and the guy pages have been (greatly) more advantageous. In all 3 ways, he has made Linux programming more straightforward. The in-depth therapy of subject matters 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 info correct, and to specific it truly and concisely, has led to a powerful reference resource for programmers. whereas this paintings is concentrated at Linux programmers, it is going to be of price 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 really thorough—yet effortless to read—explanation of UNIX approach and community programming, with an emphasis on Linux platforms. It's definitely a publication I'd suggest to anyone desirous to get into UNIX programming (in basic) or to skilled UNIX programmers desirous to recognize '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 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 machine technological know-how, The collage of Otago
"I've been very inspired by means of the precision, the standard and the extent of aspect Michael Kerrisk installed his e-book. he's a good specialist of Linux approach calls and we could us percentage his wisdom and figuring out 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 structures programmer. Michael Kerrisk covers using all of the key APIs throughout either the Linux and UNIX procedure 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 team, and Chair of the POSIX 1003.1 operating Group
"What may be greater than an encyclopedic connection with the Linux method, from the viewpoint of the approach programmer, written via none except the maintainer of the fellow pages himself? The Linux Programming Interface is accomplished and special. I firmly count on it to develop into an fundamental addition to my programming bookshelf." Bill Gallmeister, writer of POSIX.4 Programmer's consultant: Programming for the true World
". . . the main whole and up to date booklet approximately Linux and UNIX procedure programming. If you're new to Linux approach programming, if you're a UNIX veteran concerned about portability whereas attracted to studying the Linux manner, or if you're easily trying to find an outstanding reference in regards to the Linux programming interface, then Michael Kerrisk's e-book is well the significant other you will have in your bookshelf." Loic Domaigne, leader software program Architect (Embedded), Corpuls.com
Read Online or Download The Linux Programming Interface: A Linux and UNIX System Programming Handbook PDF
Best unix books
Delphi for Linux (Kylix) improvement comprises 3 major subject matters. First, the e-book well-known that a lot of its viewers can be home windows builders who have to comprehend uncomplicated Linux improvement ideas, so there'll be info during the ebook providing perception on tips to leverage home windows improvement wisdom to the Linux platform.
Barely enough UNIX presents a short and cheap creation to the UNIX working method. the second one variation of this article is going to replicate alterations and updates to the UNIX curriculum that experience taken position because the book's unique ebook.
Signposts in Cyberspace: The Domain Name System And Internet Navigation
The area identify procedure (DNS) permits undemanding alphanumeric names and domains to be assigned to websites. lots of those names have won financial, social, and political worth, resulting in conflicts over their possession, specially names containing trademarked phrases. Congress, in P. L. 105-305, directed the dept of trade to request the NRC to accomplish a learn of those matters.
Mac OS X Tiger: Missing Manual
You could set your watch to it: once Apple comes out with one other model of Mac OS X, David Pogue hits the streets with one other meticulous lacking guide to hide it with a wealth of aspect. the hot Mac OS X 10. four, greater often called Tiger, is quicker than its predecessors, yet nothing's too quick for Pogue and Mac OS X: The lacking handbook.
- Hack proofing Sun Solaris 8, Edition: 2nd ed
- Delphi 6 Developer's Guide (Sams Developer's Guides)
- Advanced UNIX Programming, Edition: Revised & Revised
- UNIX Network Programming: Networking APIs: Sockets and XTI; Volume 1
- Implementing Backup and Recovery: The Readiness Guide for the Enterprise
Additional info for The Linux Programming Interface: A Linux and UNIX System Programming Handbook
Example text
Paul reviewed a wide range of chapters, suggesting many valuable improvements. John Reiser (with Tom London) carried out one of the earliest ports of UNIX to a 32-bit architecture: the VAX-11/780. He is also the creator of the mmap() system call. John reviewed many chapters (including, obviously, the chapter on mmap()), providing a multitude of historical insights and crystal-clear technical explanations that greatly improved the chapters. Anthony Robins (Associate Professor of Computer Science, University of Otago, New Zealand), a close friend of more than three decades, was the first reader of the drafts of several chapters, and offered valuable early comments and ongoing encouragement as the project evolved.
The main motivation for this change arose from problems and frustrations caused by the long intervals between stable kernel releases. ) There have periodically been discussions about fine-tuning this model, but the essential details have remained as follows: z z z There is no longer a separation between stable and development kernels. z release can contain new features, and goes through a life cycle that begins with the addition of new features, which are then stabilized over the course of a number of candidate release versions.
Standards and portability Throughout this book, I’ve taken special care to consider portability issues. 1-2001 and Single UNIX Specification version 3 (SUSv3) standard. 1-2008 and SUSv4 standard. (Because SUSv3 was a much larger revision, and it is the UNIX standard that is in most widespread effect at the time of writing, discussions of standards in the book are generally framed in terms of SUSv3, with notes on the differences in SUSv4. ) For features that are not standardized, I indicate the range of differences on other UNIX implementations.



