home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
gnu
/
man
/
cat3
/
rindex.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
1KB
|
67 lines
RINDEX(3) UNIX Programmer's Manual RINDEX(3)
NNAAMMEE
rriinnddeexx - locate character in string
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttrriinngg..hh>>
_c_h_a_r _*
rriinnddeexx(_c_o_n_s_t _c_h_a_r _*_s, _i_n_t _c)
DDEESSCCRRIIPPTTIIOONN
The rriinnddeexx() function locates the last character matching _c (converted to
a _c_h_a_r) in the nullÂterminated string _s. The character c is returned if
it is found; otherwise NULL is returned. If _c is `\0', rriinnddeexx() locates
the terminating `\0'.
SSEEEE AALLSSOO
index(3), memchr(3), strchr(3), strcspn(3), strpbrk(3), strrchr(3),
strsep(3), strspn(3), strstr(3), strtok(3)
HHIISSTTOORRYY
A rriinnddeexx() function appeared in Version 6 AT&T UNIX.
BSD Experimental April 19, 1991 1