home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
509.lha
/
DES
/
src
/
index.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-05-06
|
213b
|
30 lines
/* Lattice for some reason doesn't have an index function in its
libraries. Irritating. --SRP */
char *index(s,t)
char* s, t;
{
for(;*s!='\0';s++){
if(*s == t)
return(s);
}
return(0);
}