/*
 * 5799-WZQ (C) COPYRIGHT = NONE
 * LICENSED MATERIALS - PROPERTY OF IBM
 */
/* $Header:NIL.c 12.0$ */
/* $ACIS:NIL.c 12.0$ */
/* $Source: /ibm/acis/usr/src/usr.lib/libpc/RCS/NIL.c,v $ */

#ifndef lint
static char *rcsid = "$Header:NIL.c 12.0$";
#endif

/* Copyright (c) 1979 Regents of the University of California */

static char sccsid[] = "@(#)NIL.c 1.3 11/12/82";

#include "h00vars.h"

char ENIL[] = "Pointer value out of legal range\n";

char *
NIL(ptr)
	char	*ptr;		/* pointer to struct */
{
	if (ptr > _maxptr || ptr < _minptr) {
		ERROR(ENIL, 0);
		return;
	}
	return ptr;
}
