FreeCalypso > hg > freecalypso-tools
view target-utils/libc/index.c @ 92:bfed7a5c21a6
target-utils/libc/bzero.S: changed signed conditions to unsigned
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 28 Oct 2016 23:45:49 +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 */ }