- Comments
- D
- Search
- Home

Last update Sun Jul 1 11:16:39 2007

# 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(voidfunction()*);
void exit(int);
void _exit(int);
int system(char*);
void* alloca(uint);
void* calloc(uint, uint);
void* malloc(uint);
void* realloc(void*, uint);
void free(void*);
void* bsearch(const void*, const void*, uint, uint, intfunction(const void*, const void*)*);
void qsort(void* base, uint nelems, uint elemsize, intfunction(const void*, const void*)* compare);
char* getenv(const char*);
  ditto
int setenv(char*, char*, int);
  extension to ISO C standard, not available on all platforms
  ditto
void unsetenv(char*);
int rand();
void srand(uint);
int random(int num);
void randomize();
int getErrno();
int setErrno(int);
const int ERANGE;
double atof(const char*);
int atoi(const char*);
int atol(const 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(const char*);
long strtoll(char*, char**, int);
ulong strtoull(char*, char**, int);
char* itoa(int, char*, int);
char* ultoa(uint, char*, int);
int mblen(const char* s, uint n);
int mbtowc(wchar* pwc, char* s, uint n);
int wctomb(char* s, wchar wc);
uint mbstowcs(wchar* pwcs, const char* s, uint n);
uint wcstombs(const char* s, wchar* pwcs, uint n);
  extension to ISO C standard, not available on all platforms
  ditto

Copyright © 1999-2007 by Digital Mars, All Rights Reserved | Page generated by Ddoc.