# 2.11BSD#431 - /usr/src/usr.bin/refer/glue2.c

##### Functions

    restodir          X
    savedir           X

##### Variables

    refdir            X

       1: #ifndef lint
       2: static char *sccsid = "@(#)glue2.c	4.1 (Berkeley) 5/6/83";
       3: #endif
       4:
       5: char refdir[50];
       6:
       7: savedir()
       8: {
       9:     if (refdir[0]==0)
      10:         corout ("", refdir, "/bin/pwd", "", 50);
      11:     trimnl(refdir);
      12: }
      13:
      14: restodir()
      15: {
      16:     chdir(refdir);
      17: }

#### Defined functions

restodir defined in line 14; used 3 times

- in /usr/src/usr.bin/refer/glue1.c line 202, 251
- in /usr/src/usr.bin/refer/glue3.c line 83

savedir defined in line 7; used 1 times

- in /usr/src/usr.bin/refer/glue1.c line 48

#### Defined variables

refdir defined in line 5; used 4 times

- in line 9-16(4)

sccsid defined in line 2; never used

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