AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

LINT(l) LINT ( 1) FILES The -D, -U , and -1 options of cc(l) are also recognized as separate arguments. Certain conventional comments in the C source will change the behavior of lint : I*NOTREACHED*I � at appropriate points stops comments about unreachable J code. I*VARARGSn*l suppresses the usual checking for variable numbers of arguments in the following function declaration. The data types of the first n arguments are checked; a missing n is taken to be 0. I•ARGSUSED*I turns on the -v option for the next function. I •LINTLffiRARY *I at the beginning of a file 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. � lusr llibllint[ 12] lusrlliblllib-lc.In lusr lliblllib-port.ln lusr lliblllib-lm.ln programs declarations for standard functions (binary format; source is in / usr /lib /llib-lc) declarations for portable functions (binary format; source is in /usr/lib/llib-port) declarations for standard math functions (binary format; source is in fusr/lib/lliblm) temporaries lusrltmpi•Iinh SEE ALSO cc( l). BUGS Exit(2) and other functions which do not return are not understood; this causes various lies. - 2 -

LOGNAME ( l ) LOGNAME ( l ) NAME logname - get login name SYNOPSIS logna.me DESCRIPTION Logname returns the contents of the environment variable $LOG­ NAME, which is set when a user logs into the system. FILES /etc/profile SEE ALSO env(l), login(lM), logname(3X), environ(5). - 1 -

LINT(l) LINT ( 1)<br />

FILES<br />

The -D, -U , and -1 options of cc(l) are also recognized as<br />

separate arguments.<br />

Certain conventional comments in the C source will change the<br />

behavior of lint :<br />

I*NOTREACHED*I<br />

�<br />

at appropriate points stops comments about unreachable J<br />

code.<br />

I*VARARGSn*l<br />

suppresses the usual checking for variable numbers of<br />

arguments in the following function declaration. The data<br />

types of the first n arguments are checked; a missing n is<br />

taken to be 0.<br />

I•ARGSUSED*I<br />

turns on the -v option for the next function.<br />

I •LINTLffiRARY *I<br />

at the beginning of a file shuts off complaints about<br />

unused functions in this file.<br />

Lint produces its first output on a per source file basis. Complaints<br />

regarding included files are collected and printed after all<br />

source files have been processed. Finally, information gathered<br />

from all input files is collected and checked for consistency. At<br />

this point, if it is not clear whether a complaint stems from a<br />

given source file or from one of its included files, the source file<br />

name will be printed followed by a question mark. �<br />

lusr llibllint[ 12]<br />

lusrlliblllib-lc.In<br />

lusr lliblllib-port.ln<br />

lusr lliblllib-lm.ln<br />

programs<br />

declarations for standard functions (binary<br />

format; source is in / usr /lib /llib-lc)<br />

declarations for portable functions (binary<br />

format; source is in /usr/lib/llib-port)<br />

declarations for standard math functions<br />

(binary format; source is in fusr/lib/lliblm)<br />

temporaries<br />

lusrltmpi•Iinh<br />

SEE ALSO<br />

cc( l).<br />

BUGS<br />

Exit(2) and other functions which do not return are not understood;<br />

this causes various lies.<br />

- 2 -

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

Saved successfully!

Ooh no, something went wrong!