2014-07-06 07:07:32 +00:00
|
|
|
|
|
|
|
#ifndef __STRING_H__
|
|
|
|
#define __STRING_H__
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2014-08-01 01:16:08 +00:00
|
|
|
int memcmp(const void *b1, const void *b2, size_t len);
|
2014-07-06 07:07:32 +00:00
|
|
|
void *memcpy(void *dst, const void *src, size_t len);
|
|
|
|
void *memset(void *dst, int c, size_t len);
|
|
|
|
|
2014-07-13 21:22:59 +00:00
|
|
|
char *strchr(const char *s, int c);
|
2014-07-06 07:07:32 +00:00
|
|
|
int strcmp(const char *s1, const char *s2);
|
|
|
|
char *strcpy(char *to, const char *from);
|
|
|
|
size_t strlen(const char *str);
|
2014-10-14 21:07:55 +00:00
|
|
|
int strncmp(const char *s1, const char *s2, size_t len);
|
2014-07-10 22:55:32 +00:00
|
|
|
char *strncpy(char *to, const char *from, size_t len);
|
2014-07-06 07:07:32 +00:00
|
|
|
|
|
|
|
#endif /* __STRING_H__ */
|
|
|
|
|