# stdlib.h File Reference

`#include <pspkernel.h>`
`#include <stddef.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.

## Data Structures

struct | div_t
struct | ldiv_t
struct | lldiv_t

## Defines

#define | NULL (void *)0
#define | EXIT_SUCCESS 0
#define | EXIT_FAILURE 1
#define | MB_CUR_MAX 1
#define | RAND_MAX 2147483647

## Functions

void | abort (void) __attribute__((noreturn))
int | abs (int)
int | atexit (void(*)(void))
double | atof (const char *)
void | exit (int)
void * | bsearch (const void *, const void *, size_t, size_t, int(*)(const void *, const void *))
div_t | div (int, int)
char * | getenv (const char *)
long | labs (long)
ldiv_t | ldiv (long, long)
long long | llabs (long long)
lldiv_t | lldiv (long long, long long)
int | rand (void)
int | setenv (const char *, const char *, int)
void | srand (unsigned int)
double | strtod (const char *, char **)
long | strtol (const char *, char **, int)
unsigned long | strtoul (const char *, char **, int)
void | qsort (void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *))
int | mblen (const char *, size_t)
size_t | mbstowcs (wchar_t *, const char *, size_t)
int | mbtowc (wchar_t *, const char *, size_t)
size_t | wcstombs (char *, const wchar_t *, size_t)
int | wctomb (char *, wchar_t)
char * | _itoa (int, char *, int)
char * | _ltoa (long, char *, int)
char * | _lltoa (long long, char *, int)
int | system (const char *string)

## Define Documentation

#define EXIT_FAILURE 1

#define EXIT_SUCCESS 0

#define MB_CUR_MAX 1

#define NULL (void *)0

#define RAND_MAX 2147483647

## Function Documentation

char* _itoa | ( | int | ,
|  | char * | ,
|  | int |
| ) |

char* _lltoa | ( | long | long,
|  | char * | ,
|  | int |
| ) |

char* _ltoa | ( | long | ,
|  | char * | ,
|  | int |
| ) |

void abort | ( | void |  | ) |

int abs | ( | int |  | ) |

int atexit | ( | void(*)(void) |  | ) |

double atof | ( | const char * |  | ) |

void* bsearch | ( | const void * | ,
|  | const void * | ,
|  | size_t | ,
|  | size_t | ,
|  | int(*)(const void *, const void *) |
| ) |

div_t div | ( | int | ,
|  | int |
| ) |

void exit | ( | int |  | ) |

char* getenv | ( | const char * |  | ) |

long labs | ( | long |  | ) |

ldiv_t ldiv | ( | long | ,
|  | long |
| ) |

long long llabs | ( | long | long | ) |

lldiv_t lldiv | ( | long | long,
|  | long | long
| ) |

int mblen | ( | const char * | ,
|  | size_t |
| ) |

size_t mbstowcs | ( | wchar_t * | ,
|  | const char * | ,
|  | size_t |
| ) |

int mbtowc | ( | wchar_t * | ,
|  | const char * | ,
|  | size_t |
| ) |

void qsort | ( | void * | base,
|  | size_t | nmemb,
|  | size_t | size,
|  | int(*)(const void *, const void *) | compar
| ) |

int rand | ( | void |  | ) |

int setenv | ( | const char * | ,
|  | const char * | ,
|  | int |
| ) |

void srand | ( | unsigned | int | ) |

double strtod | ( | const char * | ,
|  | char ** |
| ) |

long strtol | ( | const char * | ,
|  | char ** | ,
|  | int |
| ) |

unsigned long strtoul | ( | const char * | ,
|  | char ** | ,
|  | int |
| ) |

int system | ( | const char * | string | ) |

size_t wcstombs | ( | char * | ,
|  | const wchar_t * | ,
|  | size_t |
| ) |

int wctomb | ( | char * | ,
|  | wchar_t |
| ) |