If you have some programming experience and are ready to venture into Linux programming, this updated edition of the bestselling entry-level book takes you there. New to this edition are chapters on MySQL® access and administration; programming GNOMETM and KDETM; and Linux standards for portable applications. Coverage of kernel programming, device drivers, CVS, grep, and GUI development environments has expanded.
The authors guide you step by step, using construction of a CD database application to give you hands-on experience as you progress from the basic to the complex.
You’ll start with fundamental concepts like writing Linux programs in C. You’ll learn basic system calls, file I/O, interprocess communication, and shell programming. You’ll become skilled with the toolkits and libraries for working with user interfaces. The book starts with the basics, explaining how to compile and run your first program. First, each concept is explained to give you a solid understanding of the material. Practical examples are then presented, so you see how to apply the knowledge in real applications.
What you will learn from this book
- To write scripts that use grep, regular expressions, and other Linux facilities
- To develop programs to access files and the Linux environment
- To use the GNU compiler, debugger and other development tools
- To program data storage applications for MySQL and DBM database systems
- To write programs that take advantage of signals, processes, and threads
- To access the network using TCP/IP sockets
- To build graphical user interfaces using both the GTK (for GNOME) and Qt (for KDE) libraries
- To write device drivers that can be loaded into the Linux kernel
Who this book is for
This book is for programmers with some C or C++ experience who want to take advantage of the Linux development environment. You should have enough Linux familiarity to have installed and configured users on Linux.
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.