Checking C Programs with Lint

Checking C Programs with Lint

by Ian F. Darwin
     
 

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 interpretlint's output.lint verifies a program or program segments against

…  See more details below

Overview

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 interpretlint'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

Read More

Product Details

ISBN-13:
9780937175309
Publisher:
O'Reilly Media, Incorporated
Publication date:
10/28/1988
Series:
Nutshell Handbooks Series
Edition description:
REV
Pages:
80
Product dimensions:
5.50(w) x 8.50(h) x 0.24(d)

Meet the Author

Ian F. Darwin has worked in the computer industry for three decades. He wrote the freeware file(1) command used on Linux and BSD and is the author of Checking C Programs with Lint, Java Cookbook, and over seventy articles and courses on C and Unix. In addition to programming and consulting, Ian teaches Unix, C, and Java for Learning Tree International, one of the world's largest technical training companies.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >