. service tells you which device it couldn't stat
[minix3.git] / lib / ack / libm2 / rcka.c
blob6178bd6fb7e766edda1dc10928f2a700338f213b
1 /*
2 * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
6 * Module: range checks for INTEGER, now for array indexing
7 * Author: Ceriel J.H. Jacobs
8 * Version: $Header$
9 */
11 #include <em_abs.h>
13 extern TRP();
15 struct array_descr {
16 int lbound;
17 int n_elts_min_one;
18 unsigned size;
21 rcka(descr, indx)
22 struct array_descr *descr;
24 if (indx < 0 || indx > descr->n_elts_min_one) TRP(EARRAY);