1
0
Fork 0
forked from len0rd/rockbox

Added strrchr() to the plugin API

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4873 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-07-13 14:14:30 +00:00
parent 0c458c043a
commit a96a130f5a
2 changed files with 2 additions and 0 deletions

View file

@ -146,6 +146,7 @@ static struct plugin_api rockbox_api = {
snprintf,
strcpy,
strlen,
strrchr,
memset,
memcpy,
#ifndef SIMULATOR

View file

@ -174,6 +174,7 @@ struct plugin_api {
int (*snprintf)(char *buf, size_t size, const char *fmt, ...);
char* (*strcpy)(char *dst, const char *src);
size_t (*strlen)(const char *str);
char * (*strrchr)(const char *s, int c);
void* (*memset)(void *dst, int c, size_t length);
void* (*memcpy)(void *out, const void *in, size_t n);
#ifndef SIMULATOR