Back to index

cell-binutils  2.17cvs20070401
Functions
strchr.c File Reference
#include <ansidecl.h>

Go to the source code of this file.

Functions

char * strchr (register const char *s, int c)

Function Documentation

char* strchr ( register const char *  s,
int  c 
)

Definition at line 19 of file strchr.c.

{
  do {
    if (*s == c)
      {
       return (char*)s;
      }
  } while (*s++);
  return (0);
}