www.digitalmars.com

D Programming Language 1.0

Last update Fri Oct 5 00:37:22 2007

std.c.stdio

C's <stdio.h>

Authors:
Walter Bright, Digital Mars, www.digitalmars.com

License:
Public Domain

const int _NFILE;


const int BUFSIZ;


const int EOF;


const int FOPEN_MAX;


const int FILENAME_MAX;
255 plus NULL

const int TMP_MAX;


const int _SYS_OPEN;


const int SYS_OPEN;


const wchar WEOF;


struct _iobuf;


alias FILE;


_iobuf [60u] _iob;


void(* _fcloseallp)();


ubyte[60u] __fhnd_info;


const _iobuf * stdin;


const _iobuf * stdout;


const _iobuf * stderr;


const _iobuf * stdaux;


const _iobuf * stdprn;


const char[] _P_tmpdir;


const wchar[] _wP_tmpdir;


const int L_tmpnam;


alias fpos_t;


char* tmpnam(char*);


_iobuf * fopen(char*, char*);


_iobuf * _fsopen(char*, char*, int);


_iobuf * freopen(char*, char*, _iobuf *);


int fseek(_iobuf *, int, int);


int ftell(_iobuf *);


char* fgets(char*, int, _iobuf *);


int fgetc(_iobuf *);


int _fgetchar();


int fflush(_iobuf *);


int fclose(_iobuf *);


int fputs(char*, _iobuf *);


char* gets(char*);


int fputc(int, _iobuf *);


int _fputchar(int);


int puts(char*);


int ungetc(int, _iobuf *);


uint fread(void*, uint, uint, _iobuf *);


uint fwrite(void*, uint, uint, _iobuf *);


int fprintf(_iobuf *, char*,...);


int vfprintf(_iobuf *, char*, void*);


int vprintf(char*, void*);


int sprintf(char*, char*,...);


int vsprintf(char*, char*, void*);


int scanf(char*,...);


int fscanf(_iobuf *, char*,...);


int sscanf(char*, char*,...);


void setbuf(_iobuf *, char*);


int setvbuf(_iobuf *, char*, int, uint);


int remove(char*);


int rename(char*, char*);


void perror(char*);


int fgetpos(_iobuf *, int*);


int fsetpos(_iobuf *, int*);


_iobuf * tmpfile();


int _rmtmp();


int _fillbuf(_iobuf *);


int _flushbu(int, _iobuf *);


int getw(_iobuf * FHdl);


int putw(int Word, _iobuf * FilePtr);


int getchar();


int putchar(int c);


int getc(_iobuf * fp);


int putc(int c, _iobuf * fp);


int ferror(_iobuf * fp);


int feof(_iobuf * fp);


void clearerr(_iobuf * fp);


void rewind(_iobuf * fp);


int _bufsize(_iobuf * fp);


int fileno(_iobuf * fp);


int _snprintf(char*, uint, char*,...);


int _vsnprintf(char*, uint, char*, void*);


int unlink(char*);


_iobuf * fdopen(int, char*);


int fgetchar();


int fputchar(int);


int fcloseall();


int filesize(char*);


int flushall();


int getch();


int getche();


int kbhit();


char* tempnam(char* dir, char* pfx);


wchar* _wtmpnam(wchar*);


_iobuf * _wfopen(wchar*, wchar*);


_iobuf * _wfsopen(wchar*, wchar*, int);


_iobuf * _wfreopen(wchar*, wchar*, _iobuf *);


wchar* fgetws(wchar*, int, _iobuf *);


int fputws(wchar*, _iobuf *);


wchar* _getws(wchar*);


int _putws(wchar*);


int wprintf(wchar*,...);


int fwprintf(_iobuf *, wchar*,...);


int vwprintf(wchar*, void*);


int vfwprintf(_iobuf *, wchar*, void*);


int swprintf(wchar*, wchar*,...);


int vswprintf(wchar*, wchar*, void*);


int _snwprintf(wchar*, uint, wchar*,...);


int _vsnwprintf(wchar*, uint, wchar*, void*);


int wscanf(wchar*,...);


int fwscanf(_iobuf *, wchar*,...);


int swscanf(wchar*, wchar*,...);


int _wremove(wchar*);


void _wperror(wchar*);


_iobuf * _wfdopen(int, wchar*);


wchar* _wtempnam(wchar*, wchar*);


wchar fgetwc(_iobuf *);


wchar _fgetwchar_t();


wchar fputwc(wchar, _iobuf *);


wchar _fputwchar_t(wchar);


wchar ungetwc(wchar, _iobuf *);


wchar getwchar_t();


wchar putwchar_t(wchar c);


wchar getwc(_iobuf * fp);


wchar putwc(wchar c, _iobuf * fp);


int fwide(_iobuf * fp, int mode);