paths.3 revision 1.2
$NetBSD: paths.3,v 1.2 2011/04/01 13:54:00 njoly Exp $

Copyright (c) 2011 The NetBSD Foundation, Inc.
All rights reserved.

This code is derived from software contributed to The NetBSD Foundation
by Jukka Ruohonen.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

.Dd March 30, 2011 .Dt PATHS 3 .Os .Sh NAME .Nm paths .Nd default system paths .Sh SYNOPSIS n paths.h .Sh DESCRIPTION The n paths.h header defines some default paths used in .Nx . All defined constants are prefixed with .Dv _PATH . The constants include: l -enum -offset indent t The default user search path set by .Xr login 1 and associated utilities such as .Xr rshd 8 . This is defined by .Dv _PATH_DEFPATH and includes directories such as

a /usr/bin and

a /usr/local/bin . t Default paths for some utilities and device nodes. Examples include such paths as

a /dev/null

q Dv _PATH_DEVNULL ,

a /dev/mem

q Dv _PATH_MEM , and

a /etc/nologin

q Dv _PATH_NOLOGIN , among others. t Paths for some default directories such as

a /dev

q Dv _PATH_DEV and

a /tmp

q Dv _PATH_TMP as well as paths for some miscellaneous utilities such as .Xr csh 1 ,

a /bin/csh

q Dv _PATH_CSHELL . .El .Sh SEE ALSO .Xr whereis 1 , .Xr sysexits 3 , .Xr types 3 , .Xr hier 7
XXX: Fill this.

.Sh HISTORY
The
.In paths.h
header first appeared in
.Bx ????
.Sh CAVEATS The n paths.h header is specific to .Nx .