home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
109.lha
/
PD_C
/
lib
/
index.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1986-11-20
|
301 b
|
16 lines
X/*
X * index - find first occurrence of a character in a string
X */
X
#define NULL 0
char * /* found char, or NULL if none */
index(s, charwanted)
CONST char *s;
char charwanted;
{
extern char *strchr();
return(strchr(s, charwanted));
}