FreeBSD/contrib/mdocml/eqn.c
/*
 * Find the key "key" of the give size within our eqn-defined values.
 */
Find the key "key" of the give size within our eqn-defined values.
Find the key " key " of the give size within our eqn - defined values .
static struct eqn_def *
eqn_def_find(struct eqn_node *ep, const char *key, size_t sz)
{
	int		 i;
	for (i = 0; i < (int)ep->defsz; i++)
		if (ep->defs[i].keysz && STRNEQ(ep->defs[i].key,
		    ep->defs[i].keysz, key, sz))
			return &ep->defs[i];
	return NULL;
}
static struct eqn_def * eqn_def_find ( struct eqn_node * ep , const char * key , size_t sz ) { int i ; for ( i = 0 ; i < ( int ) ep -> defsz ; i ++ ) if ( ep -> defs [ i ] . keysz && STRNEQ ( ep -> defs [ i ] . key , ep -> defs [ i ] . keysz , key , sz ) ) return & ep -> defs [ i ] ; return NULL ; }
Find the key "key" of the give size within our eqn-defined values.
Find the key " key " of the give size within our eqn - defined values .