| ||||||||||||
The best part of the book is the author's common-sense approach to writing usable system utilities. A single example, for a Unix to DOS text converter, is used in the first few lessons. First he shows you how to build C programs using the GNU C compiler. From this simple start, Gay adds necessary features, like command-line processing. His guide to debugging and tracing code is also good.
As most readers know, Linux is built on small, discrete utilities built by programmers around the world. This book can help get you started understanding and using the Linux open source and even teach you how to create your own utilities. (To get you started, a copy of Linux Red Hat 5.2 is included on the companion CD-ROM.)
Later chapters add depth to programmable elements, with coverage of such topics as string and file handling, and several chapters devoted to multitasking issues, such as forking and IPC mechanisms. (Here, a simple Battleship-type game is used to illustrate programs that share data.) For a client/server demonstration, the book looks at the Tiny Query Server (and TQL) to show how client and server modules can work together.
In all, this text makes a good first choice for the beginning C programmer seeking an introduction to the world of Linux development. There are other more technical books available, but they can often lose the novice reader in needless detail. Sams Teach Yourself Linux Programming in 24 Hours will be valuable to anyone who wants an approachable guide to the exciting possibilities of today's Linux. --Richard Dragan
Topics covered: Linux system programming in C, GNU C compiler, environment variables, debugging, forking, strings, file I/O, IPC, client/server, Tiny Query Server, and TQL.
Product Details
Would you like to update product info or give feedback on images?
|
|
Share your thoughts with other customers:
|
||||||||||||||||||||||
|
Most Helpful Customer Reviews
6 of 6 people found the following review helpful:
5.0 out of 5 stars
This book should have been called Unix GNU programming in C!,
By Martin Stadtler (Rockvillem, Maryland) - See all my reviews
This review is from: Sams Teach Yourself Linux Programming in 24 Hours (Paperback)
I have looked for a book like this for quite some time. Every Linux Programming book I have seen so far tries to give me the whole kitchen sink. They cover databases to scripting to GUI. Thats exactly not what I want. I tend not to look at the 24hrs book's as they usually don't cover enough ground. Not this one! Warren Gay has done a superb job of covering the essential programming steps required to do succesful GNU/Unix programming (I used Solaris not Linux). If you are already familier with the C language then this is the road map to doing it right, the unix way. Revision control, makefiles, debugging, forks, pipes and unix permissions to name a few of the subjects are covered in a clear and easly understood method. Granted there are other books that cover C more in depth, then again I already have them. Kudos to you Warren Gay, I can hardly wait for your next one.
7 of 8 people found the following review helpful:
4.0 out of 5 stars
Perhaps, you need...,
By Loc Le (Escondido, California United States) - See all my reviews
This review is from: Sams Teach Yourself Linux Programming in 24 Hours (Paperback)
If you new to Linux, perhaps you need other books to check for small some details which are not mentioned by the author. For example, if you want to use "core dump" at beginning of the book, you need to edit the .bashrc file first because by defaut setup it will not "dump" at all. Also, when you reach to hour 5, you should be careful to use tab instead of spaces in the beginning of the lines containing with commands. I can find the answers for all of this in "Running Linux" by Matt Welsh. Good luck!
4 of 4 people found the following review helpful:
4.0 out of 5 stars
C programmer power-ups,
By
This review is from: Sams Teach Yourself Linux Programming in 24 Hours (Paperback)
I consider myself to be a fluent C programmer. This book introduced many things to me that can make my Linux programs more powerful. From beginning topics such as Makefiles and Environments to more advanced topics such as Pipes, Forks, Shared Memory, Dynamic Libraries and Signal handling, I really got a lot out of this book.
Share your thoughts with other customers: Create your own review
|
|
Suggested Tags from Similar Products(What's this?)Be the first one to add a relevant tag (keyword that's strongly related to this product).
|