Join Books.org — it's free

Checking C programs with lint by Ian F. Darwin β€” book cover
C/C++

Checking C programs with lint

by Ian F. Darwin
Available on Bookshop Write a review

Books.org participates in affiliate programs including Bookshop.org and the Amazon Services LLC Associates Program. We may earn a commission from qualifying purchases made through links on this page, at no additional cost to you.

Log in to track your reading progress.

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

The lint program checker has proven time and time again to be one of the best tools for finding portability problems and certain types of coding errors in C programs. Lint verifies a program or program segments against standard libaries, checks the code for common portability errors, and tests the programming against some tried and true guidelines. This book introduces readers to lint and guides them through running it on their programs, and helps them interpret lint's output.

About the Author, Ian F. Darwin

Ian Darwin has worked in the computer industry for three decades: with Unix since 1980, Java since 1995, and OpenBSD since 1998. He wrote the freeware file(1) command used on Linux and BSD and is the author of "Checking C Programs" with "Lint and Java Cookbook" (both O'Reilly), as well as over 70 articles, in addition to university and commercial course material on C and Unix. Besides programming and consulting, Ian teaches Unix, C, and Java for Learning Tree International, one of the world's largest technical training companies.

Reviews

There are no reviews yet. Log in to write one.

Book Details

Published
October 1, 1988
Publisher
Sebastopol, CA : O'Reilly & Associates, c1990.
Pages
80
Format
Paperback
ISBN
9780937175309

More by Ian F. Darwin

Similar books