# 2.11BSD#431 - /usr/src/new/rn/util.h

##### Variables

    len_last_line_got X

##### Macros

    MD_DIR            X
    MD_FILE           X

       1: /* $Header: util.h,v 4.3 85/05/01 11:51:58 lwall Exp $
       2:  *
       3:  * $Log:	util.h,v $
       4:  * Revision 4.3  85/05/01  11:51:58  lwall
       5:  * Baseline for release with 4.3bsd.
       6:  *
       7:  */
       8:
       9: EXT bool waiting INIT(FALSE);       /* are we waiting for subprocess (in doshell)? */
      10: EXT int len_last_line_got INIT(0);
      11:             /* strlen of some_buf after */
      12:             /*  some_buf = get_a_line(bufptr,buffersize,fp) */
      13:
      14: /* is the string for makedir a directory name or a filename? */
      15:
      16: #define MD_DIR 0
      17: #define MD_FILE 1
      18:
      19: void    util_init();
      20: int doshell();
      21: char    *safemalloc();
      22: char    *saferealloc();
      23: char    *safecpy();
      24: char    *safecat();
      25: char    *cpytill();
      26: char    *instr();
      27: #ifdef SETUIDGID
      28:     int     eaccess();
      29: #endif
      30: char    *getwd();
      31: void    cat();
      32: void    prexit();
      33: char    *get_a_line();
      34: char    *savestr();
      35: int makedir();
      36: void    setenv();
      37: int envix();
      38: void    notincl();
      39: char    *getval();
      40: void    growstr();
      41: void    setdef();

#### Defined variables

len_last_line_got defined in line 10; used 2 times

- in /usr/src/new/rn/rcstuff.c line 104
- in /usr/src/new/rn/util.c line 374

#### Defined macros

MD_DIR defined in line 16; used 4 times

- in /usr/src/new/rn/respond.c line 120
- in /usr/src/new/rn/sw.c line 461-463(2)
- in /usr/src/new/rn/util.c line 430

MD_FILE defined in line 17; used 4 times

- in /usr/src/new/rn/kfile.c line 215, 260
- in /usr/src/new/rn/respond.c line 140
- in /usr/src/new/rn/util.c line 402

#### Usage of this include

util.h used 23 times

- in /usr/src/new/rn/addng.c line 24
- in /usr/src/new/rn/art.c line 40
- in /usr/src/new/rn/artsrch.c line 13
- in /usr/src/new/rn/bits.c line 26
- in /usr/src/new/rn/final.c line 11
- in /usr/src/new/rn/head.c line 20
- in /usr/src/new/rn/init.c line 23
- in /usr/src/new/rn/intrp.c line 26, 32
- in /usr/src/new/rn/kfile.c line 21
- in /usr/src/new/rn/last.c line 12
- in /usr/src/new/rn/ng.c line 32
- in /usr/src/new/rn/ngsrch.c line 15
- in /usr/src/new/rn/ngstuff.c line 18
- in /usr/src/new/rn/only.c line 12
- in /usr/src/new/rn/rcln.c line 20
- in /usr/src/new/rn/rcstuff.c line 26
- in /usr/src/new/rn/respond.c line 30
- in /usr/src/new/rn/rn.c line 39
- in /usr/src/new/rn/search.c line 29
- in /usr/src/new/rn/sw.c line 17
- in /usr/src/new/rn/term.c line 21
- in /usr/src/new/rn/util.c line 20

Last modified: 1987-03-16 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 547 |