www.digitalmars.com

D Programming Language 1.0

Last update Mon Dec 31 10:53:29 2012

std.c.stdio

C's <stdio.h> for the D programming language

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

License:
Public Domain

Source:
std/c/stdio.d

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;


alias FILE;


const _iobuf* stdin;


const _iobuf* stdout;


const _iobuf* stderr;


const _iobuf* stdaux;


const _iobuf* stdprn;


alias fpos_t;


int ferror(_iobuf* fp);


int feof(_iobuf* fp);


void clearerr(_iobuf* fp);


void rewind(_iobuf* fp);


int fileno(_iobuf* fp);


int fwide(_iobuf* fp, int mode);


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*);


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


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


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


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


int vprintf(char*, va_list);


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


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


int scanf(char*, ...);


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


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


void setbuf(_iobuf*, char*);


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


int remove(char*);


int rename(char*, char*);


void perror(char*);


int fgetpos(_iobuf*, int*);


int fsetpos(_iobuf*, int*);


_iobuf* tmpfile();


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 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*);


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


int fputws(wchar*, _iobuf*);


int wprintf(wchar*, ...);


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


int vwprintf(wchar*, va_list);


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


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


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


int wscanf(wchar*, ...);


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


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


wchar_t fgetwc(_iobuf*);


wchar_t fputwc(wchar_t, _iobuf*);


wchar_t ungetwc(wchar_t, _iobuf*);


wchar_t getwchar_t();


wchar_t putwchar_t(wchar_t c);


wchar_t getwc(_iobuf* fp);


wchar_t putwc(wchar_t c, _iobuf* fp);