MOS Source Code
Loading...
Searching...
No Matches
mos_string.h File Reference
#include <mos/moslib_global.h>
#include <mos/types.h>
+ Include dependency graph for mos_string.h:

Go to the source code of this file.

Functions

MOSAPI size_t strlen (const char *str) __pure
 
MOSAPI size_t strnlen (const char *, size_t)
 
MOSAPI s32 strcmp (const char *str1, const char *str2)
 
MOSAPI s32 strncmp (const char *str1, const char *str2, size_t n)
 
MOSAPI s32 strncasecmp (const char *str1, const char *str2, size_t n)
 
MOSAPI voidmemcpy (void *__restrict dest, const void *__restrict src, size_t n)
 
MOSAPI voidmemmove (void *dest, const void *src, size_t n)
 
MOSAPI voidmemset (void *s, int c, size_t n)
 
MOSAPI int memcmp (const void *s1, const void *s2, size_t n)
 
MOSAPI void memzero (void *s, size_t n)
 
MOSAPI voidmemchr (const void *m, int c, size_t n)
 
MOSAPI char * strcpy (char *__restrict dest, const char *__restrict src)
 
MOSAPI char * strcat (char *__restrict dest, const char *__restrict src)
 
MOSAPI char * strncpy (char *__restrict dest, const char *__restrict src, size_t n)
 
MOSAPI char * strdup (const char *src)
 
MOSAPI char * strndup (const char *src, size_t n)
 
MOSAPI char * strchr (const char *s, int c)
 
MOSAPI char * strrchr (const char *s, int c)
 
MOSAPI size_t strspn (const char *s, const char *accept)
 
MOSAPI char * strpbrk (const char *s, const char *accept)
 
MOSAPI char * strtok (char *str, const char *delim)
 
MOSAPI char * strtok_r (char *str, const char *delim, char **saveptr)