Iros
 
Loading...
Searching...
No Matches
stdlib.h File Reference
#include <ccpp/bits/config.h>
#include <ccpp/bits/null.h>
#include <ccpp/bits/size_t.h>
#include <alloca.h>

Go to the source code of this file.

Classes

struct  div_t
 
struct  ldiv_t
 

Macros

#define EXIT_SUCCESS   0
 
#define EXIT_FAILURE   1
 
#define RAND_MAX   32767
 

Functions

__CCPP_NORETURN void abort (void)
 
__CCPP_NORETURN void exit (int __exit_code)
 
int atexit (void(*__handler)(void))
 
div_t div (int __x, int __y)
 
ldiv_t ldiv (long __x, long __y)
 
int abs (int __value)
 
long labs (long __value)
 
void * malloc (size_t __size)
 
void * calloc (size_t __count, size_t __size)
 
void * realloc (void *__pointer, size_t __new_size)
 
void free (void *__pointer)
 
int system (char const *__command)
 
char * getenv (char const *__name)
 
int atoi (char const *__string)
 
long atol (char const *__string)
 
long strtol (char const *__CCPP_RESTRICT __string, char **__CCPP_RESTRICT __end, int __radix)
 
unsigned long strtoul (char const *__CCPP_RESTRICT __string, char **__CCPP_RESTRICT __end, int __radix)
 
double atof (char const *__string)
 
double strtod (char const *__CCPP_RESTRICT __string, char **__CCPP_RESTRICT __end)
 
int rand (void)
 
void srand (unsigned __seed)
 
void qsort (void *__ptr, size_t __count, size_t __size, int(*__comp)(void const *, void const *))
 
void * bsearch (void const *__key, void const *__ptr, size_t __count, size_t __size, int(*__comp)(void const *, void const *))
 

Macro Definition Documentation

◆ EXIT_FAILURE

#define EXIT_FAILURE   1

◆ EXIT_SUCCESS

#define EXIT_SUCCESS   0

◆ RAND_MAX

#define RAND_MAX   32767

Function Documentation

◆ abort()

__CCPP_NORETURN void abort ( void )

◆ abs()

int abs ( int __value)

◆ atexit()

int atexit ( void(* __handler )(void))

◆ atof()

double atof ( char const * __string)

◆ atoi()

int atoi ( char const * __string)

◆ atol()

long atol ( char const * __string)

◆ bsearch()

void * bsearch ( void const * __key,
void const * __ptr,
size_t __count,
size_t __size,
int(* __comp )(void const *, void const *) )

◆ calloc()

void * calloc ( size_t __count,
size_t __size )

◆ div()

div_t div ( int __x,
int __y )

◆ exit()

__CCPP_NORETURN void exit ( int __exit_code)

◆ free()

void free ( void * __pointer)

◆ getenv()

char * getenv ( char const * __name)

◆ labs()

long labs ( long __value)

◆ ldiv()

ldiv_t ldiv ( long __x,
long __y )

◆ malloc()

void * malloc ( size_t __size)

◆ qsort()

void qsort ( void * __ptr,
size_t __count,
size_t __size,
int(* __comp )(void const *, void const *) )

◆ rand()

int rand ( void )

◆ realloc()

void * realloc ( void * __pointer,
size_t __new_size )

◆ srand()

void srand ( unsigned __seed)

◆ strtod()

double strtod ( char const *__CCPP_RESTRICT __string,
char **__CCPP_RESTRICT __end )

◆ strtol()

long strtol ( char const *__CCPP_RESTRICT __string,
char **__CCPP_RESTRICT __end,
int __radix )

◆ strtoul()

unsigned long strtoul ( char const *__CCPP_RESTRICT __string,
char **__CCPP_RESTRICT __end,
int __radix )

◆ system()

int system ( char const * __command)