#ifndef _STRING_H #define _STRING_H #include int memcmp(const void *, const void *, size_t); void *memchr(const void *, int, size_t); void *memcpy(void *, const void *, size_t); void *memmove(void *, const void *, size_t); void *memset(void *, int, size_t); int strcmp(const char *, const char *); size_t strlen(const char *); size_t strnlen(const char *, size_t); char *strerror(int); int strerror_r(int errnum, char *buf, size_t buflen); /* * The following definitions are not required by the OCaml runtime, but are * needed to build the freestanding version of GMP used by Mirage. */ char *strncpy(char *, const char *, size_t); char *strcpy(char *, const char *); char *strchr(const char *, int); char *strstr(const char *, const char *); /* * The following definitions are required for the OCaml bytecode runtime. */ int strncmp(const char*, const char*, size_t); #endif