source: trunk/src/gcc/libiberty/strchr.c@ 1005

Last change on this file since 1005 was 2, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 538 bytes
RevLine 
[2]1/* Portable version of strchr()
2 This function is in the public domain. */
3
4/*
5
6@deftypefn Supplemental char* strchr (const char *@var{s}, int @var{c})
7
8Returns a pointer to the first occurrence of the character @var{c} in
9the string @var{s}, or @code{NULL} if not found. If @var{c} is itself the