49#if !defined(CPU_NATIVE) \
50 && !(IS_USED(MODULE_PICOLIBC) && __BSD_VISIBLE) \
51 && !(IS_USED(MODULE_NEWLIB) && __BSD_VISIBLE && !defined(CPU_ESP8266))
67 volatile uint8_t *tmp = dest;
68 for (
size_t i = 0; i < n_bytes; i++) {
92ssize_t
strscpy(
char *dest,
const char *src,
size_t count);
104const void *
memchk(
const void *data, uint8_t c,
size_t len);
ssize_t strscpy(char *dest, const char *src, size_t count)
Copy the string, or as much of it as fits, into the dest buffer.
const void * memchk(const void *data, uint8_t c, size_t len)
Check if the entire buffer is filled with the same byte.
static void explicit_bzero(void *dest, size_t n_bytes)
Like memset(dest, 0, n_bytes), but secure.
Common macros and compiler attributes/pragmas configuration.