What is this book about?
If you've installed Linux, or have access to a version of UNIX,
you've probably gotten used to the environment and its
configuration, but if you want to start programming, most Linux
books leave you on your own. This book takes off where they stop,
showing you how to make the most of the tools UNIX offers (which
are included as standard with any distribution of Linux) and start
programming UNIX for real.
Beginning Linux Programming, 2nd Edition, concentrates on C
programming, looking at the GNU tools, and the UNIX C libraries, to
teach you step by step how to write, build, and debug serious
application code. Throughout the book, you develop a fully featured
CD Database application, allowing you to see the theory of each new
topic applied to a real application. As well as handling basic file
operations, input and output and dealing with the way UNIX handles
data, you discover such advanced topics as inter-process
communication, networking, and using CGI scripting to build a Web
interface — all the elements of client-server
programming. You are also introduced the GTK+ and you find out how
to build rich graphical user interfaces for X with GNOME. Finally,
there's an introduction to device drivers, to give you a window
into the way the Linux kernel itself works.
You'll also learn shell scripting for BASH, as well as two more
powerful scripting languages — Tcl and Perl.
What does this book cover?
- The Perl language
- Programmming for GNOME(TM)
- POSIX(r) threads
- Kernel(r) programming
- Latest Linux kernel, current tools and C libraries
Who is this book for?
You need to be comfortable with the basics of using Linux, with
a good working knowledge of how to use and configure your system.
You should also know some simple C. If you're familiar with basic
programming concepts, the working examples in the book will soon
give you the confidence to explore Linux's C libraries.
You'll find the programming tools used in this book are included
with virtually any Linux distribution, so this book is all you need
to get started as a Linux programmer.