home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
prog_c
/
stringlb.lzh
/
STRINGLIB
/
RINDEX.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
|
1991-11-01
|
266 b
|
18 lines
/*
* rindex - find last occurrence of a character in a string
*/
#include "config.h"
#define NULL 0
char * /* found char, or NULL if none */
rindex(s, charwanted)
CONST char *s;
char charwanted;
{
extern char *strrchr();
return(strrchr(s, charwanted));
}