Penguin
Annotated edit history of rindex(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 INDEX
2 !!!INDEX
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 SEE ALSO
9 ----
10 !!NAME
11
12
13 index, rindex - locate character in string
14 !!SYNOPSIS
15
16
17 __#include
18 __''s''__, int__ ''c''__);
19 char *rindex(const char *__''s''__, int__ ''c''__);
20 __
21 !!DESCRIPTION
22
23
24 The __index()__ function returns a pointer to the first
25 occurrence of the character ''c'' in the string
26 ''s''.
27
28
29 The __rindex()__ function returns a pointer to the last
30 occurrence of the character ''c'' in the string
31 ''s''.
32
33
34 The terminating NULL character is considered to be a part of
35 the strings.
36 !!RETURN VALUE
37
38
39 The __index()__ and __rindex()__ functions return a
40 pointer to the matched character or NULL if the character is
41 not found.
42 !!CONFORMING TO
43
44
45 BSD 4.3
46 !!SEE ALSO
47
48
49 memchr(3), strchr(3), strpbrk(3),
50 strrchr(3), strsep(3), strspn(3),
51 strstr(3), strtok(3)
52 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.