FreeCalypso > hg > freecalypso-tools
view target-utils/libc/index.c @ 683:ecea01f65146
loadtools: implemented -t option for boot ROM wait timeout
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 10 Mar 2020 07:05:32 +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 */ }