PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
memrchr.c
1
#define SYSCLIB_DISABLE_BUILTINS
2
#include <
sysclib.h
>
3
4
void
*__memrchr(
const
void
*m,
int
c,
size_t
n)
5
{
6
const
unsigned
char
*s = m;
7
c = (
unsigned
char)c;
8
while
(n--)
if
(s[n]==c)
return
(
void
*)(s+n);
9
return
0;
10
}
sysclib.h
iop
system
sysclib
src
musl
string
memrchr.c
Generated on Thu Nov 14 2024 05:25:29 for PS2SDK by
1.9.8