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

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005