blob: 54fdf7a50e87d90e36de6879163a3d79ebeb6134 (
plain) (
tree)
|
|
#ifndef DEF_LIB_STRING_H
#define DEF_LIB_STRING_H
#include <types.h>
#ifdef __cplusplus
extern "C" { namespace libc {
#endif
void *memcpy(void *dest, const void *src, int count);
void *memset(void *dest, int val, int count);
uint16_t *memsetw(uint16_t *dest, uint16_t val, int count);
int strlen(const char *str);
char *strcpy(char *dest, const char *src);
char *strdup(const char *src);
char *strchr(const char *str, int c);
char *strcat(char *dest, const char *src);
int strcmp(const char *s1, const char *s2);
char* format_int(char* buf, int number);
char* format_hex(char *buf, unsigned v);
#ifdef __cplusplus
} }
#endif
#endif
|