19 lines
457 B
C
19 lines
457 B
C
|
|
#ifndef __STRING_H__
|
|
#define __STRING_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
int memcmp(const void *b1, const void *b2, size_t len);
|
|
void *memcpy(void *dst, const void *src, size_t len);
|
|
void *memset(void *dst, int c, size_t len);
|
|
|
|
char *strchr(const char *s, int c);
|
|
int strcmp(const char *s1, const char *s2);
|
|
char *strcpy(char *to, const char *from);
|
|
size_t strlen(const char *str);
|
|
char *strncpy(char *to, const char *from, size_t len);
|
|
|
|
#endif /* __STRING_H__ */
|
|
|