All pastes #473103 Raw Edit

Miscellany

public c v1 · immutable
·published 2007-05-06 01:28 UTC
rendered paste body
char *findstruct(char *base, int num, int sz, int ident){        MLStub  *s;        int     i;        s = (MLStub*)base;        for(i=0;i<num;i++)        {                if ((s->used) && (s->ident == ident))                        return((char*)s);                (char*)s += sz;        }        return(NULL);}