23 lines
499 B
C
23 lines
499 B
C
#ifndef STRING_H_
|
|
#define STRING_H_
|
|
|
|
#include <stddef.h>
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern void *memcpy(void *dest, const void *src, size_t sz);
|
|
extern void *memcmp(const void *a, const void *b, size_t sz);
|
|
extern void *memmove(void *dest, const void *src, size_t sz);
|
|
|
|
extern size_t strlen(const char *str);
|
|
extern int strcmp(const char *a, const char *b);
|
|
extern int strncmp(const char *a, const char *b, size_t sz);
|
|
|
|
#if defined(__cplusplus)
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif
|