Annotation of researchv10dc/cmd/pascal/libpc/NIL.c, revision 1.1.1.1

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.