XOPEN(7V)

NAME
xopen - overview of the X/Open Portability Guide Issue 2 (X/Open) environment

SYNOPSIS
/usr/5bin/lint -n -lxopen xopen_src.c

AVAILABILITY

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

DESCRIPTION

X/Open is a set of functions and header files. The SunOS Release 4.1 implementation of X/Open is a superset — it includes all of the functionality described in the /usr/group Standard 1984 — as well as much of the System V functionality, and much of the SunOS functionality.

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

If a user desires to work in a X/Open (or System V) environment, the user should set the path variable to include /usr/xpg2bin and /usr/5bin before anything else. The typical path is:

    set path=( /usr/xpg2bin /usr/5bin /bin /usr/bin /usr/ucb )

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

X/Open, as with most other environments, continues to evolve. The -lxopen lint library will always refer to the most recent document supported by Sun. Some applications may wish to port to a particular version of the environment; they may safely use the more specific name of -lxpg2 (currently the same as -lxopen).

FILES
/usr/xpg2bin/*
    X/Open specific executables
/usr/xpg2include/*
    X/Open specific header files
/usr/5include/*
    System V specific header files
/usr/xpg2lib/*
    X/Open specific library files
/usr/5lib/*
    System V specific library files

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