std.c.stdlib - D Programming Language - Digital Mars

D Programming Language 1.0

- Comments
- D
- Search
- Home

Last update Wed Sep 2 00:11:33 2009

# std.c.stdlib

C's <stdlib.h> D Programming Language runtime library
Authors:
Walter Bright, Digital Mars, http://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 function());
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 function(void*, void*));
void qsort(void* base, uint nelems, uint elemsize, int function(void*, void*) compare);
char* getenv(char*);
int setenv(char*, char*, int);
  extension to ISO C standard, not available on all platforms
void unsetenv(char*);
  extension to ISO C standard, not available on all platforms
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);

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