4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history] / usr / src / include / paths.h
index a59b846..35da488 100644 (file)
@@ -1,34 +1,43 @@
 /*
 /*
- * Copyright (c) 1989 The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1989, 1993
+ *     The Regents of the University of California.  All rights reserved.
  *
  *
- * Redistribution and use in source and binary forms are permitted
- * provided that the above copyright notice and this paragraph are
- * duplicated in all such forms and that any documentation,
- * advertising materials, and other materials related to such
- * distribution and use acknowledge that the software was developed
- * by the University of California, Berkeley.  The name of the
- * University may not be used to endorse or promote products derived
- * from this software without specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ * %sccs.include.redist.c%
  *
  *
- *     @(#)paths.h     5.4 (Berkeley) %G%
+ *     @(#)paths.h     8.1 (Berkeley) %G%
  */
 
  */
 
+#ifndef _PATHS_H_
+#define        _PATHS_H_
+
+/* Default search path. */
+#define        _PATH_DEFPATH   "/usr/bin:/bin"
+/* All standard utilities path. */
+#define        _PATH_STDPATH \
+       "/usr/bin:/bin:/usr/sbin:/sbin:/usr/contrib/bin:/usr/old/bin"
+
 #define        _PATH_BSHELL    "/bin/sh"
 #define        _PATH_CONSOLE   "/dev/console"
 #define        _PATH_CSHELL    "/bin/csh"
 #define        _PATH_BSHELL    "/bin/sh"
 #define        _PATH_CONSOLE   "/dev/console"
 #define        _PATH_CSHELL    "/bin/csh"
-#define        _PATH_DEV       "/dev/"
+#define        _PATH_DEVDB     "/var/run/dev.db"
 #define        _PATH_DEVNULL   "/dev/null"
 #define        _PATH_DRUM      "/dev/drum"
 #define        _PATH_KMEM      "/dev/kmem"
 #define        _PATH_DEVNULL   "/dev/null"
 #define        _PATH_DRUM      "/dev/drum"
 #define        _PATH_KMEM      "/dev/kmem"
-#define        _PATH_MAN       "/usr/man"
+#define        _PATH_MAILDIR   "/var/mail"
+#define        _PATH_MAN       "/usr/share/man"
 #define        _PATH_MEM       "/dev/mem"
 #define        _PATH_MEM       "/dev/mem"
+#define        _PATH_NOLOGIN   "/etc/nologin"
 #define        _PATH_SENDMAIL  "/usr/sbin/sendmail"
 #define        _PATH_SENDMAIL  "/usr/sbin/sendmail"
-#define        _PATH_TMP       "/tmp/"
+#define        _PATH_SHELLS    "/etc/shells"
 #define        _PATH_TTY       "/dev/tty"
 #define        _PATH_UNIX      "/vmunix"
 #define        _PATH_TTY       "/dev/tty"
 #define        _PATH_UNIX      "/vmunix"
-#define        _PATH_VARTMP    "/var/tmp"
 #define        _PATH_VI        "/usr/bin/vi"
 #define        _PATH_VI        "/usr/bin/vi"
+
+/* Provide trailing slash, since mostly used for building pathnames. */
+#define        _PATH_DEV       "/dev/"
+#define        _PATH_TMP       "/tmp/"
+#define        _PATH_VARDB     "/var/db/"
+#define        _PATH_VARRUN    "/var/run/"
+#define        _PATH_VARTMP    "/var/tmp/"
+
+#endif /* !_PATHS_H_ */