The
Linux
Programming
inTerface
A Linux and UNIX
®
System Programming Handbook
Michael KerrisK
KerrisK
The
Lin
u
x
Pr
o
g
r
a
mm
in
g
in
Te
r
fac
e
The Linux Programming Interface is
the definitive guide
to the Linux and UNIX programming interface—the
interface employed by nearly every application that
runs on a Linux or UNIX system.
In this authoritative work, Linux programming
expert Michael Kerrisk provides
detailed descriptions
of the system calls and library functions that you need
in order to master the craft of system programming,
and accompanies his explanations with clear,
complete
example programs.
You’ll find descriptions of over 500 system calls
and library functions, and more than 200 example pro-
grams, 88 tables, and 115 diagrams. You’ll learn how to:
f
Read
and write files efficiently
f
Use signals, clocks, and timers
f
Create processes and execute programs
f
Write secure programs
f
Write multithreaded
programs using POSIX threads
f
Build and use shared libraries
f
Perform interprocess communication using pipes,
message queues, shared memory, and semaphores
f
Write network applications
with the sockets API
While
The Linux Programming Interface covers a wealth
of Linux-specific features,
including epoll, inotify, and
the
/proc
file system, its emphasis on UNIX standards
(POSIX.1-2001/SUSv3 and POSIX.1-2008/SUSv4)
makes it equally valuable to programmers working on
other UNIX platforms.
The Linux Programming Interface is the most com-
prehensive single-volume
work on the Linux and UNIX
programming interface, and a book that’s destined to
become a new classic.