PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
strcmp.c
1#define SYSCLIB_DISABLE_BUILTINS
2#include <sysclib.h>
3
4int strcmp(const char *l, const char *r)
5{
6 for (; *l==*r && *l; l++, r++);
7 return *(unsigned char *)l - *(unsigned char *)r;
8}