mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-12-24 04:37:12 +00:00
This incoporates pieces from musl-libc, cloudlibc, cloudabi, libpreopen, and dlmalloc, as well as a significant amount of new code.
24 lines
611 B
C
24 lines
611 B
C
#ifndef __wasilibc___headers_string_h
|
|
#define __wasilibc___headers_string_h
|
|
|
|
#define __need_size_t
|
|
#define __need_NULL
|
|
#include <stddef.h>
|
|
|
|
#include <__functions_memcpy.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
size_t strlen(const char *) __attribute__((__nothrow__, __leaf__, __pure__, __nonnull__(1)));
|
|
char *strdup(const char *) __attribute__((__nothrow__, __nonnull__(1)));
|
|
int strcmp(const char *, const char *) __attribute__((__nothrow__, __pure__, __nonnull__(1, 2)));
|
|
void *memchr(const void *, int, size_t) __attribute__((__nothrow__, __pure__, __nonnull__(1)));
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|