#ifndef AKERR_FIXTURE_RUNTIME_H_ #define AKERR_FIXTURE_RUNTIME_H_ /* * A minimal AKERR_RUNTIME_HEADER for tests/freestanding_fixture.c: just * enough declarations (no definitions -- this fixture is compiled, never * linked) to prove that -DAKERR_USE_STDLIB=OFF's public header needs nothing * from a hosted environment beyond these six symbols and the freestanding-safe * /. size_t comes from , already included by * akerror.h before this header is pulled in. */ void exit(int status); void *memset(void *s, int c, size_t n); int snprintf(char *str, size_t size, const char *format, ...); int strcmp(const char *a, const char *b); size_t strlen(const char *s); char *strncpy(char *dest, const char *src, size_t n); #endif /* AKERR_FIXTURE_RUNTIME_H_ */