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);
|
|
|
|
extern void *memset(void *s, int c, size_t n);
|
|
|
|
extern void *memmove(void *dest, const void *src, size_t n);
|
|
|
|
extern int memcmp(const void *s1, const void *s2, size_t n);
|
|
|
|
|
|
|
|
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);
|
|
|
|
extern int strcmp(const char *s1, const char *s2);
|
|
|
|
extern int strncmp(const char *s1, const char *s2, size_t n);
|
2023-10-08 12:42:01 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|