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:
parent
0c458c043a
commit
a96a130f5a
2 changed files with 2 additions and 0 deletions
|
|
@ -146,6 +146,7 @@ static struct plugin_api rockbox_api = {
|
|||
snprintf,
|
||||
strcpy,
|
||||
strlen,
|
||||
strrchr,
|
||||
memset,
|
||||
memcpy,
|
||||
#ifndef SIMULATOR
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue