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
/
RANG4.c
/* Copyright (c) 1979 Regents of the University of California */
static char
sccsid
[] =
"@(#)RANG4.c 1.5 %G%"
;
char
ERANG
[] =
"Value of %D is out of range
\n
"
;
long
RANG4
(
value
,
lower
,
upper
)
long
value
;
long
lower
;
long
upper
;
{
if
(
value
<
lower
||
value
>
upper
) {
ERROR
(
ERANG
,
value
);
}
return
value
;
}