1: /* $Header: getcwp.c,v 1.1 85/03/14 16:58:54 nicklin Exp $ */
   2: 
   3: /*
   4:  * Author: Peter J. Nicklin
   5:  */
   6: 
   7: /*
   8:  * getcwp() returns the pathname of the current working project. If the
   9:  * PROJECT environment variable is undefined or a null string, null is
  10:  * returned.
  11:  */
  12: #include "null.h"
  13: 
  14: char *
  15: getcwp()
  16: {
  17:     extern char *_PROJECT;      /* project root directory pathname */
  18:     void getproject();      /* get PROJECT environment variable */
  19: 
  20:     if (_PROJECT == NULL)
  21:         getproject();
  22:     return(_PROJECT);
  23: }

Defined functions

getcwp defined in line 14; used 2 times
Last modified: 1985-07-03
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 722
Valid CSS Valid XHTML 1.0 Strict