ANSIC(7V)

NAME
ansic - ANSI C (draft of December 7 1988) lint library

SYNOPSIS
/usr/5bin/lint -n -lansic ansic_src.c

AVAILABILITY

This environment is not available under SunOS Release 4.1. The environment that most closely approximates an ANSI C environment is the System V environment. The System V environment is available with the System V software installation option. Refer to for information on how to install optional software.

DESCRIPTION

ANSI C is a proposed standard for the C language. SunOS Release 4.1 does not currently fully support ANSI C applications. It does support many of the functions described by the ANSI C draft. This man page does not imply that the functions supported by SunOS Release 4.1 and the functions described by the ANSI C draft perform identically. The ANSI C lint library is intended solely as a porting aid.

The ANSI C lint library consists exclusively of ANSI C functions. Users may lint their code with the -n -lansic options to catch all non-ANSI C features.

Certain functions defined in the ANSI C lint library are not available in the C library but are available. In particular, math functions are made available only when the -lm option is added to cc(1V) or ld(1) commands.

Other ANSI C functions not supported at all in SunOS Release 4.1 are raise(), fgetpos(), fsetpos(), div(), ldiv(), strtoul(), strerror(), and difftime().

FILES
/usr/5lib/lint/llib-lansic*
    ANSI C lint library

SEE ALSO
lint(1V), bsd(7), posix(7V), sunos(7), svidii(7V), svidiii(7V), xopen(7V)