Back to index

glibc  2.9
paths.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 1989, 1993
00003  *     The Regents of the University of California.  All rights reserved.
00004  *
00005  * Redistribution and use in source and binary forms, with or without
00006  * modification, are permitted provided that the following conditions
00007  * are met:
00008  * 1. Redistributions of source code must retain the above copyright
00009  *    notice, this list of conditions and the following disclaimer.
00010  * 2. Redistributions in binary form must reproduce the above copyright
00011  *    notice, this list of conditions and the following disclaimer in the
00012  *    documentation and/or other materials provided with the distribution.
00013  * 4. Neither the name of the University nor the names of its contributors
00014  *    may be used to endorse or promote products derived from this software
00015  *    without specific prior written permission.
00016  *
00017  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
00018  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00019  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00020  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
00021  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00022  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
00023  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
00024  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00025  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
00026  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00027  * SUCH DAMAGE.
00028  *
00029  *     @(#)paths.h   8.1 (Berkeley) 6/2/93
00030  */
00031 
00032 #ifndef _PATHS_H_
00033 #define       _PATHS_H_
00034 
00035 /* Default search path. */
00036 #define       _PATH_DEFPATH "/usr/bin:/bin"
00037 /* All standard utilities path. */
00038 #define       _PATH_STDPATH \
00039        "/usr/bin:/bin:/usr/sbin:/sbin:/usr/contrib/bin:/usr/old/bin"
00040 
00041 #define       _PATH_BSHELL  "/bin/sh"
00042 #define       _PATH_CONSOLE "/dev/console"
00043 #define       _PATH_CSHELL  "/bin/csh"
00044 #define       _PATH_DEVDB   "/var/run/dev.db"
00045 #define       _PATH_DEVNULL "/dev/null"
00046 #define       _PATH_DRUM    "/dev/drum"
00047 #define       _PATH_KMEM    "/dev/kmem"
00048 #define       _PATH_MAILDIR "/var/mail"
00049 #define       _PATH_LASTLOG "/var/log/lastlog"
00050 #define       _PATH_MAN     "/usr/man"
00051 #define       _PATH_MEM     "/dev/mem"
00052 #define       _PATH_MNTTAB    "/etc/fstab"
00053 #define       _PATH_MOUNTED   "/var/run/mtab"
00054 #define       _PATH_NOLOGIN "/etc/nologin"
00055 #define       _PATH_PRESERVE       "/var/preserve"
00056 #define       _PATH_RWHODIR "/var/rwho"
00057 #define       _PATH_SENDMAIL       "/usr/sbin/sendmail"
00058 #define       _PATH_SHADOW  "/etc/shadow"
00059 #define       _PATH_SHELLS  "/etc/shells"
00060 #define       _PATH_TTY     "/dev/tty"
00061 #define       _PATH_UNIX    "/vmunix"
00062 #define       _PATH_UTMP    "/var/run/utmp"
00063 #define       _PATH_UTMP_DB "/var/run/utmp.db"
00064 #define       _PATH_VI      "/usr/bin/vi"
00065 #define       _PATH_WTMP    "/var/log/wtmp"
00066 
00067 /* Provide trailing slash, since mostly used for building pathnames. */
00068 #define       _PATH_DEV     "/dev/"
00069 #define       _PATH_TMP     "/tmp/"
00070 #define       _PATH_VARDB   "/var/db/"
00071 #define       _PATH_VARRUN  "/var/run/"
00072 #define       _PATH_VARTMP  "/var/tmp/"
00073 
00074 #endif /* !_PATHS_H_ */