1: #include "../h/rt.h"
   2: 
   3: /*
   4:  * deffile - if dp is null, default to def; otherwise, make sure it's a file.
   5:  */
   6: 
   7: deffile(dp, def)
   8: struct descrip *dp, *def;
   9:    {
  10:    DeRef(*dp)
  11:    if (NULLDESC(*dp)) {
  12:       *dp = *def;
  13:       return 1;
  14:       }
  15:    if (QUAL(*dp) || TYPE(*dp) != T_FILE)
  16:       runerr(105, dp);
  17:    return 0;
  18:    }

Defined functions

deffile defined in line 7; never used
Last modified: 1984-11-18
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 639
Valid CSS Valid XHTML 1.0 Strict