Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc Intel XENIX 286 Programmers Guide (86) - Tenox.tc

09.06.2013 Views

XENIX Programming Programming Commands lint (continued) The following arguments alter lint's behavior: -n Does not check compatibility against either the standard or the portable lint library. -p Attempts to check portability to other dialects of C. llibname Checks functions definitions in the specified lint library. For example, -lm causes the library llibm.ln to be checked. The -D, -U, and -1 options of cc are also recognized as separate arguments. Certain conventional comments in the C source will change the behavior of lint: /*NOTREACHED*/ At appropriate points stops comments about unreachable code. /*VARARGSn*/ Suppresses the usual checking for variable num bers of argu ments in the following function declaration. The data types of the first n arguments are checked; a missing n is taken to be 0. /*ARGSUSED*/ Turns on the -v option for the next function. /*LINTLffiRAR Y* I Shuts off complaints about unused functions in this file. lint produces its first output on a per-source-file basis. Complaints regarding included files are collected and printed after all source files have been processed. Finally, information gathered from all input files is collected and checked for consistency. At this point, if it is not clear whether a complaint stems from a given source file or from one of its included files, the source file name will be printed followed by a question mark. Files Progra m Files /usr/lib/lint[12] /usr/lib/llibc.ln /usr/lib/llibport.ln /usr/lib/llibm.ln /usr/lib/llibdbm.ln /usr/lib/llibtermlib.ln 8-81

Programming Commands lint (continued) Standard Lint Libra ries {Binary Format) /usr/lib/llibc /usr/lib/llibport /usr/lib/llibm /usr/lib/llibdbm usr/lib/llibtermlib See Also cc Notes XENIX Programming exit (see "System Functions" in the XENIX 286 C Library Guide) and other functions that do not return are not understood. This can cause improper error messages. B-82

Programming Commands<br />

lint (continued)<br />

Standard Lint Libra ries {Binary Format)<br />

/usr/lib/llibc<br />

/usr/lib/llibport<br />

/usr/lib/llibm<br />

/usr/lib/llibdbm<br />

usr/lib/llibtermlib<br />

See Also<br />

cc<br />

Notes<br />

<strong>XENIX</strong> Programming<br />

exit (see "System Functions" in the <strong>XENIX</strong> <strong>2<strong>86</strong></strong> C Library <strong>Guide</strong>) and other functions<br />

that do not return are not understood. This can cause improper error messages.<br />

B-82

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!