9#ifndef ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_STDLIB_H_
10#define ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_STDLIB_H_
19unsigned long strtoul(
const char *nptr,
char **endptr,
int base);
20long strtol(
const char *nptr,
char **endptr,
int base);
25void *
calloc(
size_t nmemb,
size_t size);
30 size_t count,
size_t size,
31 int (*cmp)(
const void *
key,
const void *element));
35void _exit(
int status);
36static inline void exit(
int status)
42#ifdef CONFIG_MINIMAL_LIBC_RAND
43#define RAND_MAX INT_MAX
45void srand(
unsigned int seed);
48static inline int abs(
int __n)
50 return (__n < 0) ? -__n : __n;
53static inline long labs(
long __n)
55 return (__n < 0L) ? -__n : __n;
58static inline long long llabs(
long long __n)
60 return (__n < 0LL) ? -__n : __n;
irp nz macro MOVR cc s mov cc s endm endr irp aw macro LDR aa s
Definition: asm-macro-32-bit-gnu.h:17
ZTEST_BMEM int count
Definition: main.c:33
void * ptr
Definition: printk.c:79
static k_spinlock_key_t key
Definition: spinlock_error_case.c:14
void * calloc(size_t nmemb, size_t size)
long strtol(const char *nptr, char **endptr, int base)
static long long llabs(long long __n)
Definition: stdlib.h:58
void * bsearch(const void *key, const void *array, size_t count, size_t size, int(*cmp)(const void *key, const void *element))
unsigned long strtoul(const char *nptr, char **endptr, int base)
static long labs(long __n)
Definition: stdlib.h:53
void * malloc(size_t size)
void * reallocarray(void *ptr, size_t nmemb, size_t size)
void * realloc(void *ptr, size_t size)
static int abs(int __n)
Definition: stdlib.h:48
static void exit(int status)
Definition: stdlib.h:36