Checking C Programs with Lint
By Ian F. Darwin
First Edition
October 1988
Pages: 75
ISBN 10: 0-937175-30-7 |
ISBN 13: 9780937175309


Book description
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
The
lint program checker has proven time and again to be one of the best tools for finding portability problems and certain types of coding errors in C programs. This book introduces you to
lint, guides you through running it on your programs, and helps you to interpret
lint's output.
lint verifies a program or program segments against standard libraries, checks the code for common portability errors, and tests the programming against some tried and true guidelines.
linting your code is a necessary (though not sufficient) step in writing clean, portable, effective programs.
Contents include:
- 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
Browse within this book
Cover
| Table of Contents
| Index
| Colophon
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
Read all reviews