projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
merge in onyx changes
[unix-history]
/
usr
/
src
/
usr.bin
/
pascal
/
libpc
/
PRED.c
/* Copyright (c) 1979 Regents of the University of California */
static char
sccsid
[] =
"@(#)PRED.c 1.2 %G%"
;
#include
"h01errs.h"
long
PRED
(
value
,
lower
,
upper
)
long
value
;
long
lower
;
long
upper
;
{
value
--;
if
(
value
<
lower
||
value
>
upper
) {
ERROR
(
ERANGE
,
value
);
return
;
}
return
value
;
}