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