By Ian F. Darwin
October 1988
Pages: 75
ISBN 10: 0-937175-30-7 |
ISBN 13: 9780937175309
The lint program is one of the best tools for finding portability problems and certain types of coding errors in C programs. This handbook introduces you to lint, guides you through running it on your programs, and helps you interpret lint's output.
Full Description
- Overview of using lint
- Dealing with lint' concerns: casting and delinting
- lint comments
- Using lint in detail: command line options, using lint with make, rolling your own lint library
- Public domain programs
- Under the hood: an inside look
- Future directions
Register your book | Submit Errata | Examples
Browse within this book
Cover | Table of Contents | Index | Colophon
Book details
First Edition: October 1988
ISBN: 0-937175-30-7
Pages: 75
Featured customer reviews
Be the first person to review this book!
Media reviews
"I learned one or two little tricks, and since I'm fairly expert on
lint that came as a pleasant surprise. The book is short and to the point. On the other hand, it is not very terse, and anyone who's written a C program of more than one source file should be able to read and learn from it." --Message-ID: <89Dec26.225008est.2631@sq.sq.com>
"I can say without reservation that this book is a must for the system programmer or anyone else programming in C." --Root Journal, Sept/Oct 1990
"The book is short, useful, and to the point. I recommend it for self-study to all involved with C in a UNIX environment, as it certainly goes beyond the standard documentation on lint and makes this important tool much more accessible." --Computing Reviews, August 1989
"The book starts with an overview of lint and then shows you how to use it with examples. Then it gets into some realistic explanations of all those warnings, comments and error messages you get from lint. It is the first time I have ever seen explanations that are fully understandable. In fact, one of the most useful and fascinating things I found in this book is the explanation of lint's internal comments and how to use them to get lint to shut up about a few specific errors or warnings that plague every programmer.
"I can say without reservation that this book is a must for the system programmer or anyone else programming in C." --Root Journal, Sept/Oct 1990



