POSIX(7V)

NAME
posix - overview of the IEEE Std 1003.1-1988 (POSIX.1) environment

SYNOPSIS
/usr/5bin/lint -n -lposix posix_src.c

AVAILABILITY

This environment is available with the System V software installation option. Refer to for information on how to install optional software.

DESCRIPTION

POSIX.1 is a set of functions and headers. The SunOS Release 4.1 implementation of POSIX.1 is a superset — it includes all of the functionality described in the IEEE standard as well as most of the SunOS functionality. See the sunos(7) man page for a description of SunOS functionality.

All man pages that are associated with POSIX.1 are marked by a “V” after the section number. Not all “V” pages, however, are POSIX.1. Some “V” pages may be part of other System V based environments such as X/Open.

If a user desires to work in a POSIX.1 (or System V) environment, the user should set the path variable to include /usr/5bin before anything else. The typical path is PATH=/usr/5bin:/bin:/usr/bin:/usr/ucb.

LINT

As a portability aid, Sun is providing a lint library that consists exclusively of POSIX.1 functions. Users may lint their code with the -n -lposix options to catch all non-POSIX.1 features.

POSIX.1 is primarily an operating system interface. POSIX.1 also specifies a subset of the functions defined by ANSI C. These are included in the posix lint library. Because of the additional functionality provided by ANSI C, Sun will also be providing an ANSI C (based on the December 7, 1988 draft) lint library. A portable application may want to lint with -n -lposix -lansic for the most complete coverage of functions.

POSIX.1 as with most other environments, continues to evolve. The -lposix lint library will always refer to the most recent standard supported by Sun. Some applications may wish to port to a particular version of the standard; they may safely use the more specific name of -lposix1-88 (currently the same as -lposix).

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

FILES
/usr/5bin/*
    POSIX.1 and System V specific executables
/usr/5include/*
    POSIX.1 and System V specific headers
/usr/5lib/*
    POSIX.1 and System V specific library files

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

IEEE Std 1003.1-1988