4 void*
memset(
void* b,
int c,
int len) {
19 while(s[len]) { ++len; }
25 void *
memcpy(
void *str1,
const void *str2,
long n) {
28 uint8_t *dest8 = (uint8_t*)str1;
29 uint8_t *source8 = (uint8_t*)str2;
31 dest8[i] = source8[i];
35 int strcmp(
const char* s1,
const char* s2) {
37 return(
ustrncmp(s1, s2, (uint32_t)-1));
40 int ustrncmp(
const char *s1,
const char *s2, uint32_t n) {
69 void ustrcpy(
char* dest,
const char* source) {
73 if (dest[i++] ==
'\0') {
break; }
void ustrcpy(char *dest, const char *source)
int strcmp(const char *s1, const char *s2)
uint32_t ustrlen(const char *s)
int ustrncmp(const char *s1, const char *s2, uint32_t n)
void * memset(void *b, int c, int len)
void * memcpy(void *str1, const void *str2, long n)