- Shopping Bag ( 0 items )
From Barnes & NobleThe Barnes & Noble Review
The best way to learn Linux programming is to learn it from proven code. That’s Arnold Robbins’s approach -- and it works.
In Linux Programming by Example: The Fundamentals, Robbins carefully illuminates some of the most informative code from GNU tools like gawk and older System 7 utilities such as cat. (To keep you compatible, he always tells you which interfaces are available on which systems.)
Instead of trying to be “all things to all people,” Robbins offers thorough coverage of the core techniques every Linux programmer needs. He begins with an overview of the Unix/Linux file and process models; then shows how C programs interact with their environments. Next, it’s on to user-level memory management: understanding different kinds of memory in use and available to running processes.
Robbins systematically covers file I/O and metadata -- including creating and using files, working with directories, hard links, symbolic links, owners, permissions, and so forth. By this point, you’ve learned enough for a chapter-length example, drawn from System 7’s ls utility.
Then, it’s on to the basics of process management, pipes and signals. Working with user and group ID numbers and permissions. Extended interfaces for locking and advanced searches. Internationalization and localization. And, finally, debugging with GDB -- including compile-time and run-time debugging code.
A forthcoming Volume 2 will focus entirely on IPC and networking. Later, expect a Volume 3 on software engineering and code portability. Don’t wait, though: This book will make you plenty productive in the meantime. Bill Camarda
Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2003 and Upgrading & Fixing Networks for Dummies, Second Edition.