rcka.c

来自「Minix比较全的源码」· C语言 代码 · 共 26 行

C
26
字号
/* $Header$ *//* * (c) copyright 1990 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". *//* Author: Hans van Eck */#include	<em_abs.h>extern _trp();struct array_descr	{		int		lbound;		unsigned	n_elts_min_one;		unsigned	size;		/* doesn't really matter */	    };_rcka(descr, index)struct array_descr *descr;{	if( index < descr->lbound ||	    index > (int) descr->n_elts_min_one + descr->lbound )		_trp(EARRAY);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?