8000 minix/lib/ack/libm2/rcka.c at R3.1.5 · lukegithub/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
executable file
·
25 lines (21 loc) · 507 Bytes

rcka.c

File metadata and controls

executable file
·
25 lines (21 loc) · 507 Bytes
/*
* (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*
*
* Module: range checks for INTEGER, now for array indexing
* Author: Ceriel J.H. Jacobs
* Version: $Header$
*/
#include <em_abs.h>
extern TRP();
struct array_descr {
int lbound;
int n_elts_min_one;
unsigned size;
};
rcka(descr, indx)
struct array_descr *descr;
{
if (indx < 0 || indx > descr->n_elts_min_one) TRP(EARRAY);
}
0