Back to index

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 19 of file strrchr.c.

{
  char *rtnval = 0;

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