1: #include "../h/rt.h"
   2: 
   3: /*
   4:  * defcset(dp,cp,buf,def) - if dp is null, default to def;
   5:  *  otherwise, convert to cset or die trying.
   6:  */
   7: 
   8: defcset(dp, cp, buf, def)
   9: struct descrip *dp;
  10: int **cp;
  11: int *buf, *def;
  12:    {
  13:    DeRef(*dp)
  14:    if (NULLDESC(*dp)) {
  15:       *cp = def;
  16:       return 1;
  17:       }
  18:    if (cvcset(dp, cp, buf) == NULL)
  19:       runerr(104, dp);
  20:    return 0;
  21:    }

Defined functions

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