FreeCalypso > hg > freecalypso-tools
view target-utils/libc/index.c @ 599:18bfc10ba20e
sms-pdu-decode: more prep for pcm-sms-decode addition
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 08 Feb 2020 01:20:45 +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 */ }