Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
stdlib.h File Reference
#include <stddef.h>
#include <limits.h>

Go to the source code of this file.

Macros

#define EXIT_SUCCESS   0
 
#define EXIT_FAILURE   1
 

Functions

unsigned long strtoul (const char *nptr, char **endptr, int base)
 
long strtol (const char *nptr, char **endptr, int base)
 
int atoi (const char *s)
 
voidmalloc (size_t size)
 
void free (void *ptr)
 
voidcalloc (size_t nmemb, size_t size)
 
voidrealloc (void *ptr, size_t size)
 
voidreallocarray (void *ptr, size_t nmemb, size_t size)
 
voidbsearch (const void *key, const void *array, size_t count, size_t size, int(*cmp)(const void *key, const void *element))
 
static void exit (int status)
 
void abort (void)
 
static int abs (int __n)
 
static long labs (long __n)
 
static long long llabs (long long __n)
 

Macro Definition Documentation

◆ EXIT_FAILURE

#define EXIT_FAILURE   1

◆ EXIT_SUCCESS

#define EXIT_SUCCESS   0

Function Documentation

◆ abort()

void abort ( void  )

◆ abs()

static int abs ( int  __n)
inlinestatic

◆ atoi()

int atoi ( const char *  s)

◆ bsearch()

void * bsearch ( const void key,
const void array,
size_t  count,
size_t  size,
int(*)(const void *key, const void *element)  cmp 
)

◆ calloc()

void * calloc ( size_t  nmemb,
size_t  size 
)

◆ exit()

static void exit ( int  status)
inlinestatic

◆ free()

void free ( void ptr)

◆ labs()

static long labs ( long  __n)
inlinestatic

◆ llabs()

static long long llabs ( long long  __n)
inlinestatic

◆ malloc()

void * malloc ( size_t  size)

◆ realloc()

void * realloc ( void ptr,
size_t  size 
)

◆ reallocarray()

void * reallocarray ( void ptr,
size_t  nmemb,
size_t  size 
)

◆ strtol()

long strtol ( const char *  nptr,
char **  endptr,
int  base 
)

◆ strtoul()

unsigned long strtoul ( const char *  nptr,
char **  endptr,
int  base 
)