scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

strchr.man (568B)


      1 .TH strchr 3 scc\-VERSION
      2 .SH NAME
      3 strchr - find the first occurrence of a character in a 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 searches the string pointed to by
     12 .I s
     13 for the first occurrence of
     14 .I c
     15 after conversion to char.
     16 The terminating null byte is considered part of the string.
     17 .SH RETURN VALUE
     18 The
     19 .BR strchr ()
     20 function returns a pointer to the first matching character,
     21 or a null pointer if
     22 .I c
     23 does not appear in the string.
     24 .SH STANDARDS
     25 ISO/IEC 9899:1999 Section 7.21.5.2