1 #ifndef __wasilibc___header_string_h 2 #define __wasilibc___header_string_h 3 4 #define __need_size_t 5 #define __need_NULL 6 #include <stddef.h> 7 8 #include <__functions_memcpy.h> 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 size_t strlen(const char *) __attribute__((__nothrow__, __leaf__, __pure__, __nonnull__(1))); 15 char *strdup(const char *) __attribute__((__nothrow__, __nonnull__(1))); 16 int strcmp(const char *, const char *) __attribute__((__nothrow__, __pure__, __nonnull__(1, 2))); 17 void *memchr(const void *, int, size_t) __attribute__((__nothrow__, __pure__, __nonnull__(1))); 18 19 #ifdef __cplusplus 20 } 21 #endif 22 23 #endif 24