#include <nlibc.h>
#include <stddef.h>
#include <float.h>
#include <alloca.h>
#include <stdlib/strtol.h>
#include <stdlib/strtoul.h>
#include <stdlib/strtod.h>
#include <stdlib/rand.h>
#include <stdlib/bsdmalloc.h>
Include dependency graph for stdlib.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | div_t |
struct | ldiv_t |
struct | lldiv_t |
Defines | |
#define | __ldiv_t_defined 1 |
#define | __lldiv_t_defined 1 |
#define | EXIT_FAILURE 1 |
#define | EXIT_SUCCESS 0 |
#define | RAND_MAX INT_MAX |
#define | __roundup(x, n) (((x)+((n)-1))&(~((n)-1))) |
#define | sizeof_aligned(TY) __roundup(sizeof(TY),__alignof__(TY)) |
#define | atof(STR) strtod((STR), (char **)NULL) |
#define | atoi(nptr) strtol(nptr, (char **)NULL, 10) |
#define | atol(nptr) strtol(nptr, (char **)NULL, 10) |
#define | atoll(nptr) strtoll(nptr, (char **)NULL, 10) |
#define | atoq(nptr) atoll(nptr); |
#define | labs(VAL) abs(VAL) |
#define | llabs(VAL) abs(VAL) |
Functions | |
void | abort (void) |
int | system (const char *s) |
int | abs (int i) |
div_t | div (int numer, int denom) |
ldiv_t | ldiv (long int numer, long int denom) |
lldiv_t | lldiv (long long int numer, long long int denom) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
calulate the size of a type TY including the alignments. |
|
|
|
|
|
Definition at line 530 of file stdlib.h. References div_t::quot, and div_t::rem. |
|
Definition at line 541 of file stdlib.h. References ldiv_t::quot, and ldiv_t::rem. |
|
Definition at line 552 of file stdlib.h. References lldiv_t::quot, and lldiv_t::rem. |
|
|