Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
index(3)
Edit
PageHistory
Diff
Info
LikePages
INDEX !!!INDEX NAME SYNOPSIS DESCRIPTION RETURN VALUE CONFORMING TO SEE ALSO ---- !!NAME index, rindex - locate character in string !!SYNOPSIS __#include __''s''__, int__ ''c''__); char *rindex(const char *__''s''__, int__ ''c''__); __ !!DESCRIPTION The __index()__ function returns a pointer to the first occurrence of the character ''c'' in the string ''s''. The __rindex()__ function returns a pointer to the last occurrence of the character ''c'' in the string ''s''. The terminating NULL character is considered to be a part of the strings. !!RETURN VALUE The __index()__ and __rindex()__ functions return a pointer to the matched character or NULL if the character is not found. !!CONFORMING TO BSD 4.3 !!SEE ALSO memchr(3), strchr(3), strpbrk(3), strrchr(3), strsep(3), strspn(3), strstr(3), strtok(3) ----
12 pages link to
index(3)
:
Man3i
memchr(3)
strchr(3)
strcspn(3)
string(3)
strpbrk(3)
strrchr(3)
strsep(3)
strspn(3)
strstr(3)
strtok(3)
strtok_r(3)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.