FreeCalypso > hg > freecalypso-tools
view target-utils/libc/index.c @ 876:9998c015a687
ringtools/fc-meltest-pwt: shell script created, works as expected
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 30 Mar 2022 20:11:34 +0000 |
parents | 7fb62fc724dc |
children |
line wrap: on
line source
char * index(p, ch) register char *p, ch; { for (;; ++p) { if (*p == ch) return(p); if (!*p) return((char *)0); } /* NOTREACHED */ }