strchr.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
---
strchr.3 (539B)
---
1 .TH strchr 3
2 .SH NAME
3 strchr - find character in string
4 .SH SYNOPSIS
5 #include <string.h>
6
7 char *strchr(const char *s, int c)
8 .SH DESCRIPTION
9 The
10 .BR strchr ()
11 function locates the first occurence of
12 .I c
13 (converted to a char)
14 in the string pointed to by
15 .IR s .
16 The terminating null character is considered to be part of the string.
17 .SH RETURN VALUE
18 The
19 .BR strchr ()
20 function shall return a pointer to the located character
21 or a null pointer if the character does not occur in the string.
22 .SH STANDARDS
23 ISO/IEC 9899:1999 Section 7.21.5.2