mirror of
https://github.com/diegocr/libnix.git
synced 2026-09-12 03:30:29 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include <string.h>
|
||||
#include "stabs.h"
|
||||
|
||||
char *strchr(const char *s,int c)
|
||||
{
|
||||
while (*s!=(char)c)
|
||||
if (!*s++)
|
||||
{ s = (char *)0; break; }
|
||||
return (char *)s;
|
||||
}
|
||||
|
||||
ALIAS(index,strchr);
|
||||
Reference in New Issue
Block a user