epoc32/include/stdapis/paths.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/stdapis/paths.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/paths.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,130 @@
     1.4 -paths.h
     1.5 +/*
     1.6 + * Copyright (c) 1989, 1993
     1.7 + *	The Regents of the University of California.  All rights reserved.
     1.8 + *
     1.9 + * Redistribution and use in source and binary forms, with or without
    1.10 + * modification, are permitted provided that the following conditions
    1.11 + * are met:
    1.12 + * 1. Redistributions of source code must retain the above copyright
    1.13 + *    notice, this list of conditions and the following disclaimer.
    1.14 + * 2. Redistributions in binary form must reproduce the above copyright
    1.15 + *    notice, this list of conditions and the following disclaimer in the
    1.16 + *    documentation and/or other materials provided with the distribution.
    1.17 + * 4. Neither the name of the University nor the names of its contributors
    1.18 + *    may be used to endorse or promote products derived from this software
    1.19 + *    without specific prior written permission.
    1.20 + *
    1.21 + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    1.22 + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    1.23 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    1.24 + * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    1.25 + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    1.26 + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    1.27 + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    1.28 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    1.29 + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    1.30 + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    1.31 + * SUCH DAMAGE.
    1.32 +* © Portions copyright (c) 2007 Symbian Software Ltd. All rights reserved.
    1.33 + *	@(#)paths.h	8.1 (Berkeley) 6/2/93
    1.34 + * $FreeBSD: src/include/paths.h,v 1.25 2004/01/04 17:17:46 iedowse Exp $
    1.35 + */
    1.36 +
    1.37 +#ifndef _PATHS_H_
    1.38 +#define	_PATHS_H_
    1.39 +
    1.40 +#include <sys/cdefs.h>
    1.41 +
    1.42 +/* Default search path. */
    1.43 +#define	_PATH_DEFPATH	"/usr/bin:/bin"
    1.44 +/* All standard utilities path. */
    1.45 +#define	_PATH_STDPATH \
    1.46 +	"/usr/bin:/bin:/usr/sbin:/sbin:"
    1.47 +/* Locate system binaries */
    1.48 +#define _PATH_SYSPATH	\
    1.49 +	"/sbin:/usr/sbin"
    1.50 +
    1.51 +#define	_PATH_AUTHCONF	"/etc/auth.conf"
    1.52 +#define	_PATH_BSHELL	"/bin/sh"
    1.53 +#define	_PATH_CAPABILITY	"/etc/capability"
    1.54 +#define	_PATH_CAPABILITY_DB	"/etc/capability.db"
    1.55 +#define	_PATH_CONSOLE	"/dev/console"
    1.56 +#define	_PATH_CP	"/bin/cp"
    1.57 +#define	_PATH_CSHELL	"/bin/csh"
    1.58 +#define	_PATH_DEFTAPE	"/dev/sa0"
    1.59 +#define	_PATH_DEVNULL	"/dev/null"
    1.60 +#define	_PATH_DEVZERO	"/dev/zero"
    1.61 +#define	_PATH_DRUM	"/dev/drum"
    1.62 +#define	_PATH_ETC	"/etc"
    1.63 +#define	_PATH_FTPUSERS	"/etc/ftpusers"
    1.64 +#define	_PATH_HALT	"/sbin/halt"
    1.65 +#define	_PATH_IFCONFIG	"/sbin/ifconfig"
    1.66 +#define	_PATH_KMEM	"/dev/kmem"
    1.67 +#define	_PATH_LIBMAP_CONF	"/etc/libmap.conf"
    1.68 +#define	_PATH_LOCALE	"/usr/share/locale"
    1.69 +#define	_PATH_LOGIN	"/usr/bin/login"
    1.70 +#define	_PATH_MAILDIR	"/var/mail"
    1.71 +#define	_PATH_MAN	"/usr/share/man"
    1.72 +#define	_PATH_MDCONFIG	"/sbin/mdconfig"
    1.73 +#define	_PATH_MEM	"/dev/mem"
    1.74 +#define	_PATH_MKSNAP_FFS	"/sbin/mksnap_ffs"
    1.75 +#define	_PATH_MOUNT	"/sbin/mount"
    1.76 +#define	_PATH_NEWFS	"/sbin/newfs"
    1.77 +#define	_PATH_NOLOGIN	"/var/run/nologin"
    1.78 +#define	_PATH_RCP	"/bin/rcp"
    1.79 +#define	_PATH_REBOOT	"/sbin/reboot"
    1.80 +#define	_PATH_RLOGIN	"/usr/bin/rlogin"
    1.81 +#define	_PATH_RM	"/bin/rm"
    1.82 +#define	_PATH_RSH	"/usr/bin/rsh"
    1.83 +#define	_PATH_SENDMAIL	"/usr/sbin/sendmail"
    1.84 +#define	_PATH_SHELLS	"/etc/shells"
    1.85 +#define	_PATH_TTY	"/dev/tty"
    1.86 +#define	_PATH_UNIX	"don't use _PATH_UNIX"
    1.87 +#define	_PATH_VI	"/usr/bin/vi"
    1.88 +#define	_PATH_WALL	"/usr/bin/wall"
    1.89 +
    1.90 +/* Provide trailing slash, since mostly used for building pathnames. */
    1.91 +#define	_PATH_DEV	"/dev/"
    1.92 +#define	_PATH_TMP	"/tmp/"
    1.93 +#define	_PATH_VARDB	"/var/db/"
    1.94 +#define	_PATH_VARRUN	"/var/run/"
    1.95 +#define	_PATH_VARTMP	"/var/tmp/"
    1.96 +#define	_PATH_YP	"/var/yp/"
    1.97 +#define	_PATH_UUCPLOCK	"/var/spool/lock/"
    1.98 +
    1.99 +#ifdef RESCUE
   1.100 +#undef	_PATH_DEFPATH
   1.101 +#define	_PATH_DEFPATH	"/rescue:/usr/bin:/bin"
   1.102 +#undef	_PATH_STDPATH
   1.103 +#define	_PATH_STDPATH	"/rescue:/usr/bin:/bin:/usr/sbin:/sbin"
   1.104 +#undef	_PATH_SYSPATH
   1.105 +#define	_PATH_SYSPATH	"/rescue:/sbin:/usr/sbin"
   1.106 +#undef	_PATH_BSHELL
   1.107 +#define	_PATH_BSHELL	"/rescue/sh"
   1.108 +#undef	_PATH_CP
   1.109 +#define	_PATH_CP	"/rescue/cp"
   1.110 +#undef	_PATH_CSHELL
   1.111 +#define	_PATH_CSHELL	"/rescue/csh"
   1.112 +#undef	_PATH_HALT
   1.113 +#define	_PATH_HALT	"/rescue/halt"
   1.114 +#undef	_PATH_IFCONFIG
   1.115 +#define	_PATH_IFCONFIG	"/rescue/ifconfig"
   1.116 +#undef	_PATH_MDCONFIG
   1.117 +#define	_PATH_MDCONFIG	"/rescue/mdconfig"
   1.118 +#undef	_PATH_MOUNT
   1.119 +#define	_PATH_MOUNT	"/rescue/mount"
   1.120 +#undef	_PATH_NEWFS
   1.121 +#define	_PATH_NEWFS	"/rescue/newfs"
   1.122 +#undef	_PATH_RCP
   1.123 +#define	_PATH_RCP	"/rescue/rcp"
   1.124 +#undef	_PATH_REBOOT
   1.125 +#define	_PATH_REBOOT	"/rescue/reboot"
   1.126 +#undef	_PATH_RM
   1.127 +#define	_PATH_RM	"/rescue/rm"
   1.128 +#undef	_PATH_VI
   1.129 +#define	_PATH_VI	"/rescue/vi"
   1.130 +#undef	_PATH_WALL
   1.131 +#define	_PATH_WALL	"/rescue/wall"
   1.132 +#endif /* RESCUE */
   1.133 +
   1.134 +#endif /* !_PATHS_H_ */