2023-10-08 12:42:01 +00:00
|
|
|
|
|
|
|
#ifndef _STRING_H
|
|
|
|
#define _STRING_H
|
|
|
|
|
2023-10-08 12:52:17 +00:00
|
|
|
#include <stddef.h>
|
2023-10-08 12:42:01 +00:00
|
|
|
|
2023-10-08 12:52:17 +00:00
|
|
|
extern void *memcpy(void *dest, const void *src, size_t n);
|
2023-10-08 12:54:13 +00:00
|
|
|
extern void *memset(void *s, unsigned char c, size_t n);
|
2023-10-08 12:52:17 +00:00
|
|
|
extern void *memmove(void *dest, const void *src, size_t n);
|
2023-10-08 12:58:45 +00:00
|
|
|
extern int8_t memcmp(const void *s1, const void *s2, size_t n);
|
2023-10-08 12:52:17 +00:00
|
|
|
|
|
|
|
extern char *strcpy(char *dest, const char *src);
|
|
|
|
extern char *strncpy(char *dest, const char *src, size_t n);
|
|
|
|
extern size_t strlen(const char *s);
|
2023-10-08 12:58:45 +00:00
|
|
|
extern int8_t strcmp(const char *s1, const char *s2);
|
|
|
|
extern int8_t strncmp(const char *s1, const char *s2, size_t n);
|
2023-10-08 12:42:01 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|