strrchr.3 - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
strrchr.3 (546B)
---
1 .TH strrchr 3
2 .SH NAME
3 strrchr - find character in string
4 .SH SYNOPSIS
5 #include <string.h>
6
7 char *strrchr(const char *s, int c)
8 .SH DESCRIPTION
9 The
10 .BR strrchr ()
11 function locates the last occurence of
12 .I c
13 (converted to a char)
14 in the string pointed to by
15 .IR s .
16 .PP
17 The terminating null character is considered to be part of the string.
18 .SH RETURN VALUE
19 The
20 .BR strchr ()
21 function shall return a pointer to the located character
22 or a null pointer if the character does not occur in the string.
23 .SH STANDARDS
24 ISO/IEC 9899:1999 Section 7.21.5.5