lint — C Program Verifier

Synopsis

/usr/ucb/lint [options] 

Description

Use the lint command to detect portability problems, bugs, and other potential errors in C programs. /usr/ucb/lint is the interface to the BSD Compatibility Package C program verifier. It is a script that looks for the link /usr/ccs/bin/ucblint to the C program verifier. /usr/ccs/bin/ucblint is available only with the SPROcc package, whose default location is /opt/SUNWspro. /usr/ucb/lint is identical to /usr/ccs/bin/ucblint, except that BSD headers are used and BSD libraries are linked before base libraries. The /opt/SUNWspro/man/man1/lint.1 manual page is available only with the SPROcc package.

Options

/usr/ucb/lint accepts the same options as /usr/ccs/bin/ucblint

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.