paths.h (fb502a37dc171e1653be78f510f9a2019f8a4598) | paths.h (4be4929c2b4d34e3b3fe776a16b448b428012e5d) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * SUCH DAMAGE. 32 * 33 * @(#)paths.h 8.1 (Berkeley) 6/2/93 34 */ 35 36#ifndef _PATHS_H_ 37#define _PATHS_H_ 38 | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * SUCH DAMAGE. 32 * 33 * @(#)paths.h 8.1 (Berkeley) 6/2/93 34 */ 35 36#ifndef _PATHS_H_ 37#define _PATHS_H_ 38 |
39#include <sys/cdefs.h> 40 |
|
39/* Default search path. */ 40#define _PATH_DEFPATH "/usr/bin:/bin" 41/* All standard utilities path. */ 42#define _PATH_STDPATH \ 43 "/usr/bin:/bin:/usr/sbin:/sbin:" 44 45#define _PATH_BSHELL "/bin/sh" 46#define _PATH_CONSOLE "/dev/console" --- 4 unchanged lines hidden (view full) --- 51#define _PATH_KMEM "/dev/kmem" 52#define _PATH_MAILDIR "/var/mail" 53#define _PATH_MAN "/usr/share/man" 54#define _PATH_MEM "/dev/mem" 55#define _PATH_NOLOGIN "/etc/nologin" 56#define _PATH_SENDMAIL "/usr/sbin/sendmail" 57#define _PATH_SHELLS "/etc/shells" 58#define _PATH_TTY "/dev/tty" | 41/* Default search path. */ 42#define _PATH_DEFPATH "/usr/bin:/bin" 43/* All standard utilities path. */ 44#define _PATH_STDPATH \ 45 "/usr/bin:/bin:/usr/sbin:/sbin:" 46 47#define _PATH_BSHELL "/bin/sh" 48#define _PATH_CONSOLE "/dev/console" --- 4 unchanged lines hidden (view full) --- 53#define _PATH_KMEM "/dev/kmem" 54#define _PATH_MAILDIR "/var/mail" 55#define _PATH_MAN "/usr/share/man" 56#define _PATH_MEM "/dev/mem" 57#define _PATH_NOLOGIN "/etc/nologin" 58#define _PATH_SENDMAIL "/usr/sbin/sendmail" 59#define _PATH_SHELLS "/etc/shells" 60#define _PATH_TTY "/dev/tty" |
59#define _PATH_UNIX "/kernel" | 61#define _PATH_UNIX "don't use _PATH_UNIX" |
60#define _PATH_VI "/usr/bin/vi" 61 62/* Provide trailing slash, since mostly used for building pathnames. */ 63#define _PATH_DEV "/dev/" 64#define _PATH_TMP "/tmp/" 65#define _PATH_VARDB "/var/db/" 66#define _PATH_VARRUN "/var/run/" 67#define _PATH_VARTMP "/var/tmp/" 68 | 62#define _PATH_VI "/usr/bin/vi" 63 64/* Provide trailing slash, since mostly used for building pathnames. */ 65#define _PATH_DEV "/dev/" 66#define _PATH_TMP "/tmp/" 67#define _PATH_VARDB "/var/db/" 68#define _PATH_VARRUN "/var/run/" 69#define _PATH_VARTMP "/var/tmp/" 70 |
71/* How to get the correct name of the kernel. */ 72__BEGIN_DECLS 73const char *getbootfile __P((void)); 74__END_DECLS 75 |
|
69#endif /* !_PATHS_H_ */ | 76#endif /* !_PATHS_H_ */ |