# 2.11BSD#431 - /usr/include/paths.h

##### Macros

    _PATH_BSHELL      X
    _PATH_CONSOLE     X
    _PATH_CP          X
    _PATH_CSHELL      X
    _PATH_CTIMED      X
    _PATH_DEV         X
    _PATH_DEVDB       X
    _PATH_DEVNULL     X
    _PATH_LASTLOG     X
    _PATH_NOLOGIN     X
    _PATH_RSH         X
    _PATH_SENDMAIL    X
    _PATH_TMP         X
    _PATH_TTY         X
    _PATH_VARRUN      X
    _PATH_VARTMP      X
    _PATH_VI          X

       1: /*
       2:  * Copyright (c) 1989 The Regents of the University of California.
       3:  * All rights reserved.
       4:  *
       5:  * Redistribution and use in source and binary forms are permitted
       6:  * provided that the above copyright notice and this paragraph are
       7:  * duplicated in all such forms and that any documentation,
       8:  * advertising materials, and other materials related to such
       9:  * distribution and use acknowledge that the software was developed
      10:  * by the University of California, Berkeley.  The name of the
      11:  * University may not be used to endorse or promote products derived
      12:  * from this software without specific prior written permission.
      13:  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
      14:  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
      15:  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
      16:  *
      17:  *	@(#)pathnames.h	5.3.7 (2.11BSD) 1996/11/27
      18:  */
      19:
      20: #define _PATH_BSHELL    "/bin/sh"
      21: #define _PATH_CSHELL    "/bin/csh"
      22: #define _PATH_CP    "/bin/cp"
      23: #define _PATH_RSH   "/usr/ucb/rsh"
      24: #define _PATH_VI    "/usr/ucb/vi"
      25: #define _PATH_CONSOLE   "/dev/console"
      26: #define _PATH_DEVNULL   "/dev/null"
      27: #define _PATH_TTY   "/dev/tty"
      28: #define _PATH_DEV   "/dev"
      29: #define _PATH_NOLOGIN   "/etc/nologin"
      30: #define _PATH_LASTLOG   "/usr/adm/lastlog"
      31: #define _PATH_TMP   "/tmp/"
      32: #define _PATH_VARTMP    "/usr/tmp/"
      33: #define _PATH_SENDMAIL  "/usr/sbin/sendmail"
      34: #define _PATH_DEVDB "/var/run/dev"
      35: #define _PATH_VARRUN    "/var/run/"
      36: #define _PATH_CTIMED    "/usr/libexec/ctimed"

#### Defined macros

_PATH_BSHELL defined in line 20; used 9 times

- in /usr/src/bin/login/login.c line 388
- in /usr/src/libexec/rshd/rshd.c line 365
- in /usr/src/sbin/init/init.c line 31
- in /usr/src/ucb/finger/lprint.c line 79
- in /usr/src/ucb/more/more.c line 1524
- in /usr/src/usr.sbin/cron/crontab.c line 391(2)
- in /usr/src/usr.sbin/cron/entry.c line 250
- in /usr/src/usr.sbin/cron/pathnames.h line 73

_PATH_CONSOLE defined in line 25; used 2 times

- in /usr/src/lib/libc/gen/syslog.c line 192
- in /usr/src/sbin/init/init.c line 36

_PATH_CP defined in line 22; never used
_PATH_CSHELL defined in line 21; used 5 times

- in /usr/src/bin/login/login.c line 390
- in /usr/src/ucb/Mail/cmd3.c line 61, 79
- in /usr/src/ucb/Mail/fio.c line 347
- in /usr/src/ucb/Mail/names.c line 287

_PATH_CTIMED defined in line 36; used 3 times

- in /usr/src/new/kermit5.188/ckustr.c line 41, 399
- in /usr/src/usr.lib/libstubs/stubs.c line 248

_PATH_DEV defined in line 28; used 7 times

- in /usr/src/bin/disklabel/disklabel.c line 184, 191
- in /usr/src/sbin/newfs/newfs.c line 122-124(2)
- in /usr/src/ucb/finger/util.c line 42
- in /usr/src/usr.sbin/dev_mkdb/dev_mkdb.c line 88-89(2)

_PATH_DEVDB defined in line 34; used 1 times

- in /usr/src/lib/libc/gen/devname.c line 53

_PATH_DEVNULL defined in line 26; used 4 times

- in /usr/src/lib/libc/gen/daemon.c line 65
- in /usr/src/usr.bin/uucp/uucpdefs.c line 29
- in /usr/src/usr.bin/xinstall/xinstall.c line 177
- in /usr/src/usr.sbin/cron/compat.c line 48

_PATH_LASTLOG defined in line 30; used 2 times

- in /usr/src/bin/login/login.c line 529
- in /usr/src/ucb/finger/util.c line 134

_PATH_NOLOGIN defined in line 29; used 4 times

- in /usr/src/bin/login/login.c line 515
- in /usr/src/libexec/rshd/rshd.c line 304
- in /usr/src/sbin/shutdown/shutdown.c line 73
- in /usr/src/usr.bin/uucp/uucpdefs.c line 26

_PATH_RSH defined in line 23; never used
_PATH_SENDMAIL defined in line 33; used 16 times

- in /usr/src/bin/mail.c line 430-431(2)
- in /usr/src/bin/rmail.c line 98
- in /usr/src/libexec/popper/popper.h line 37
- in /usr/src/new/rcs/src/rcs.c line 1010-1011(2)
- in /usr/src/ucb/Mail/send.c line 380
- in /usr/src/ucb/rdist/docmd.c line 484-487(2)
- in /usr/src/ucb/sendbug/bugfiler.c line 699
- in /usr/src/ucb/vacation.c line 353
- in /usr/src/usr.bin/uucp/mailst.c line 27
- in /usr/src/usr.sbin/lpr/printjob.c line 914-919(3)
- in /usr/src/usr.sbin/sendmail/aux/rmail.c line 113

_PATH_TMP defined in line 31; used 10 times

- in /usr/src/bin/disklabel/disklabel.c line 89
- in /usr/src/bin/disklabel/pathnames.h line 39
- in /usr/src/ucb/Mail/fio.c line 66
- in /usr/src/ucb/Mail/quit.c line 418
- in /usr/src/ucb/Mail/temp.c line 56-64(5)
- in /usr/src/ucb/rdist/main.c line 70

_PATH_TTY defined in line 27; used 5 times

- in /usr/src/bin/login/login.c line 100, 173
- in /usr/src/lib/libc/gen/daemon.c line 57
- in /usr/src/libexec/rshd/rshd.c line 141
- in /usr/src/usr.sbin/cron/compat.c line 43

_PATH_VARRUN defined in line 35; used 3 times

- in /usr/src/usr.sbin/cron/pathnames.h line 54-55(2)
- in /usr/src/usr.sbin/dev_mkdb/dev_mkdb.c line 72

_PATH_VARTMP defined in line 32; never used
_PATH_VI defined in line 24; used 5 times

- in /usr/src/bin/disklabel/disklabel.c line 84
- in /usr/src/ucb/Mail/edit.c line 186
- in /usr/src/usr.sbin/cron/pathnames.h line 67-68(2)
- in /usr/src/usr.sbin/edquota/edquota.c line 338

#### Usage of this include

paths.h used 33 times

- in /usr/src/bin/ar/ar.c line 51
- in /usr/src/bin/disklabel/pathnames.h line 36
- in /usr/src/bin/login/pathnames.h line 20
- in /usr/src/bin/mail.c line 17
- in /usr/src/bin/rmail.c line 17
- in /usr/src/lib/libc/gen/daemon.c line 40
- in /usr/src/lib/libc/gen/devname.c line 41
- in /usr/src/lib/libc/gen/sysctl.c line 41
- in /usr/src/lib/libc/gen/syslog.c line 46
- in /usr/src/libexec/popper/popper.h line 18
- in /usr/src/libexec/rshd/pathnames.h line 20
- in /usr/src/new/kermit5.188/ckustr.c line 18
- in /usr/src/new/rcs/src/rcs.c line 106
- in /usr/src/sbin/init/init.c line 22
- in /usr/src/sbin/newfs/newfs.c line 37
- in /usr/src/sbin/shutdown/shutdown.c line 21
- in /usr/src/ucb/Mail/fio.c line 42
- in /usr/src/ucb/Mail/pathnames.h line 36
- in /usr/src/ucb/finger/pathnames.h line 20
- in /usr/src/ucb/more/more.c line 30
- in /usr/src/ucb/rdist/main.c line 15
- in /usr/src/ucb/rdist/pathnames.h line 36
- in /usr/src/ucb/sendbug/bugfiler.c line 25
- in /usr/src/ucb/vacation.c line 20
- in /usr/src/usr.bin/uucp/uucp.h line 4
- in /usr/src/usr.bin/xinstall/xinstall.c line 50
- in /usr/src/usr.lib/libstubs/stubs.c line 1
- in /usr/src/usr.sbin/cron/pathnames.h line 22
- in /usr/src/usr.sbin/dev_mkdb/dev_mkdb.c line 49
- in /usr/src/usr.sbin/edquota/edquota.c line 60
- in /usr/src/usr.sbin/inetd/pathnames.h line 36
- in /usr/src/usr.sbin/lpr/lp.local.h line 20
- in /usr/src/usr.sbin/sendmail/aux/rmail.c line 29

Last modified: 1996-11-28 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 2123 |