projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
update from John Gilmore for gcc
[unix-history]
/
usr
/
src
/
usr.bin
/
pascal
/
libpc
/
NIL.c
/* Copyright (c) 1979 Regents of the University of California */
static char
sccsid
[] =
"@(#)NIL.c 1.4 %G%"
;
#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
ptr
;
}