# 2.11BSD#431 - /usr/src/bin/csh/sh.local.h

##### Macros

    BUFSIZ            X
    FOLDSTD           X
    FORKSLEEP         X
    FSHDIAG           X
    FSHIN             X
    FSHOUT            X
    FSHTTY            X
    MAILINTVL         X
    OTHERSH           X
    SHELLPATH         X
    copy              X
    exit              X

       1: /*
       2:  * Copyright (c) 1980 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley Software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  *
       6:  *	@(#)sh.local.h	5.2 (Berkeley) 6/6/85
       7:  */
       8:
       9: /*
      10:  * This file defines certain local parameters
      11:  * A symbol should be defined in Makefile for local conditional
      12:  * compilation, e.g. IIASA or ERNIE, to be tested here and elsewhere.
      13:  */
      14:
      15: /*
      16:  * Fundamental definitions which may vary from system to system.
      17:  *
      18:  *	BUFSIZ		The i/o buffering size; also limits word size
      19:  *	SHELLPATH	Where the shell will live; initalizes $shell
      20:  *	MAILINTVL	How often to mailcheck; more often is more expensive
      21:  *	OTHERSH		Shell for scripts which don't start with #
      22:  */
      23:
      24: #define BUFSIZ  1024        /* default buffer size */
      25: #define SHELLPATH   "/bin/csh"
      26: #define OTHERSH     "/bin/sh"
      27: #define FORKSLEEP   10  /* delay loop on non-interactive fork failure */
      28: #define MAILINTVL   600 /* 10 minutes */
      29:
      30: /*
      31:  * The shell moves std in/out/diag and the old std input away from units
      32:  * 0, 1, and 2 so that it is easy to set up these standards for invoked
      33:  * commands.
      34:  */
      35: #define FSHTTY  15      /* /dev/tty when manip pgrps */
      36: #define FSHIN   16      /* Preferred desc for shell input */
      37: #define FSHOUT  17      /* ... shell output */
      38: #define FSHDIAG 18      /* ... shell diagnostics */
      39: #define FOLDSTD 19      /* ... old std input */
      40:
      41: #ifdef IIASA
      42: #undef  OTHERSH
      43: #endif
      44:
      45: #ifdef vax
      46: #define copy(to, from, size)    bcopy(from, to, size)
      47: #endif
      48:
      49: #ifdef PROF
      50: #define exit(n) done(n)
      51: #endif

#### Defined macros

BUFSIZ defined in line 24; used 50 times

- in /usr/src/bin/csh/sh.c line 551, 812
- in /usr/src/bin/csh/sh.dol.c line 119-121(2), 298, 320, 569(3), 588-593(2), 616, 629-630(2), 640, 691-698(4)
- in /usr/src/bin/csh/sh.func.c line 527
- in /usr/src/bin/csh/sh.glob.c line 36, 216, 568, 579, 618, 681, 749
- in /usr/src/bin/csh/sh.h line 210
- in /usr/src/bin/csh/sh.lex.c line 158-163(2), 427, 685, 705, 1175, 1188, 1200, 1211-1228(7), 1257, 1272-1278(3), 1333
- in /usr/src/bin/csh/sh.set.c line 543-548(2)

FOLDSTD defined in line 39; used 2 times

- in /usr/src/bin/csh/sh.c line 903
- in /usr/src/bin/csh/sh.sem.c line 252

FORKSLEEP defined in line 27; used 1 times

- in /usr/src/bin/csh/sh.proc.c line 1041

FSHDIAG defined in line 38; used 4 times

- in /usr/src/bin/csh/sh.c line 269-270(2), 902
- in /usr/src/bin/csh/sh.sem.c line 254

FSHIN defined in line 36; used 2 times

- in /usr/src/bin/csh/sh.c line 207, 900

FSHOUT defined in line 37; used 4 times

- in /usr/src/bin/csh/sh.c line 271-272(2), 901
- in /usr/src/bin/csh/sh.sem.c line 253

FSHTTY defined in line 35; used 15 times

- in /usr/src/bin/csh/sh.c line 303, 368-373(2)
- in /usr/src/bin/csh/sh.err.c line 82
- in /usr/src/bin/csh/sh.func.c line 1098, 1105-1112(3)
- in /usr/src/bin/csh/sh.lex.c line 1142-1144(2)
- in /usr/src/bin/csh/sh.misc.c line 224
- in /usr/src/bin/csh/sh.proc.c line 218, 904, 1072
- in /usr/src/bin/csh/sh.sem.c line 198

MAILINTVL defined in line 28; used 1 times

- in /usr/src/bin/csh/sh.c line 853

OTHERSH defined in line 26; used 4 times

- in line 42
- in /usr/src/bin/csh/sh.exec.c line 191, 199-201(2)

SHELLPATH defined in line 25; used 2 times

- in /usr/src/bin/csh/sh.c line 94
- in /usr/src/bin/csh/sh.exec.c line 197

copy defined in line 46; used 6 times

- in /usr/src/bin/csh/sh.c line 494, 526
- in /usr/src/bin/csh/sh.h line 125-126(2)
- in /usr/src/bin/csh/sh.lex.c line 1233
- in /usr/src/bin/csh/sh.misc.c line 289

exit defined in line 50; used 7 times

- in /usr/src/bin/csh/sh.c line 134, 601, 610
- in /usr/src/bin/csh/sh.dir.c line 41
- in /usr/src/bin/csh/sh.err.c line 71
- in /usr/src/bin/csh/sh.func.c line 180, 194

#### Usage of this include

sh.local.h used 3 times

- in /usr/src/bin/csh/alloc11.c line 5
- in /usr/src/bin/csh/sh.h line 16
- in /usr/src/bin/csh/sh.init.c line 11

Last modified: 1987-02-08 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1145 |