mirror of
https://github.com/diegocr/libnix.git
synced 2026-03-19 15:28:09 +00:00
14 lines
197 B
C
14 lines
197 B
C
#include <string.h>
|
|
#include "stabs.h"
|
|
|
|
char *strrchr(const char *s,int c)
|
|
{ char *c1=(char *)0;
|
|
do
|
|
if (*s==(char)c)
|
|
c1=(char *)s;
|
|
while(*s++);
|
|
return c1;
|
|
}
|
|
|
|
ALIAS(rindex,strrchr);
|