BSD(7)

NAME
bsd - overview of the Berkeley 4.3 environment

SYNOPSIS
/usr/bin/lint -n -lbsd bsd_src.c

DESCRIPTION

BSD 4.3 is a set of functions and headers. The SunOS Release 4.1 is a superset of BSD 4.3. It includes all of the functionality described in the BSD 4.3 documentation. See sunos(7) for an overview of SunOS functionality.

Note: there may be some cases where the coexistence of another environment overrides the BSD 4.3 semantics. In particular, when there has been a point of conflict between POSIX.1 and BSD 4.3, POSIX.1 has won (see setsid(8V) for such an example).

Many man pages are marked with a “V” after the section number, indicating some sort of System V conformance. BSD 4.3 functions are also documented on these man pages, as well as on man pages without the “V” section suffix.

By default, the user will get a superset of the BSD 4.3 environment. No path modifications should be necessary. The typical path is set path = ( /usr/ucb /bin /usr/bin )

LINT

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

BSD, as with most other environments, continues to evolve. The -lbsd lint library will always refer to the most recent BSD release supported by Sun. Some applications may wish to port to a particular release of BSD. They may safely use the more specific name of -l4.3bsd (currently the same as -lbsd). Lint libraries for BSD releases earlier than 4.3 are not currently available. 4.3 BSD is sufficiently close to 4.2 BSD that the 4.3 BSD lint library usually works.

FILES
/usr/bin/*
    BSD 4.3 and SunOS specific executables
/usr/ucb/*
    BSD 4.3 derived executables
/usr/include/*
    BSD 4.3 and SunOS specific header files
/usr/lib/*
    BSD 4.3 and SunOS specific library files
/usr/lib/lint/llib-lbsd*
    BSD 4.3 lint library

SEE ALSO
lint(1V), ansic(7V), posix(7V), sunos(7), svidii(7V), svidiii(7V), xopen(7V), setsid(8V)