DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
lint analyzer

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

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003