std.c.stdlib
C's <stdlib.h>Authors:
Walter Bright, Digital Mars, www.digitalmars.com
License:
Public Domain
- struct div_t;
- struct ldiv_t;
- struct lldiv_t;
- div_t div(int, int);
ldiv_t ldiv(int, int);
lldiv_t lldiv(long, long);
- const int EXIT_SUCCESS;
const int EXIT_FAILURE;
- int atexit(void(*)());
void exit(int);
void _exit(int);
- void* alloca(uint);
- void* calloc(uint, uint);
void* malloc(uint);
void* realloc(void*, uint);
void free(void*);
- void* bsearch(void*, void*, uint, uint, int(*)(void*, void*));
void qsort(void* base, uint nelems, uint elemsize, int(* compare)(void*, void*));
- char* getenv(char*);
int setenv(char*, char*, int);
void unsetenv(char*);
- int rand();
void srand(uint);
int random(int num);
void randomize();
int getErrno();
int setErrno(int);
- double atof(char*);
int atoi(char*);
int atol(char*);
float strtof(char*, char**);
double strtod(char*, char**);
real strtold(char*, char**);
long strtol(char*, char**, int);
uint strtoul(char*, char**, int);
long atoll(char*);
long strtoll(char*, char**, int);
ulong strtoull(char*, char**, int);
- char* itoa(int, char*, int);
char* ultoa(uint, char*, int);
- int mblen(char* s, uint n);
int mbtowc(wchar* pwc, char* s, uint n);
int wctomb(char* s, wchar wc);
uint mbstowcs(wchar* pwcs, char* s, uint n);
uint wcstombs(char* s, wchar* pwcs, uint n);