1: /* Copyright (c) 1979 Regents of the University of California */
   2: 
   3: static char sccsid[] = "@(#)NIL.c 1.3 11/12/82";
   4: 
   5: #include "h00vars.h"
   6: 
   7: char ENIL[] = "Pointer value out of legal range\n";
   8: 
   9: char *
  10: NIL(ptr)
  11:     char    *ptr;       /* pointer to struct */
  12: {
  13:     if (ptr > _maxptr || ptr < _minptr) {
  14:         ERROR(ENIL, 0);
  15:         return;
  16:     }
  17:     return ptr;
  18: }

Defined functions

NIL defined in line 9; used 2 times

Defined variables

ENIL defined in line 7; used 1 times
  • in line 14
sccsid defined in line 3; never used
Last modified: 1983-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 755
Valid CSS Valid XHTML 1.0 Strict