DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Analyzing your code with lint

Consistency checks

Inconsistent use of variables, arguments, and functions is checked within files as well as across them. Generally speaking, the same checks are performed for prototype uses, declarations, and parameters as for old-style functions. (If your program does not use function prototypes, lint will check the number and types of parameters in each call to a function more strictly than the compiler.) lint also identifies mismatches of conversion specifications and arguments in [fs]printf and [fs]scanf control strings. Examples:


Next topic: Portability checks
Previous topic: What lint does

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004