D Programming Language 2.0

- Comments
- D
- Search
- Home

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