D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Wed Jul 9 01:24:52 2008

# std.c.stdio

C's <stdio.h> for the D programming language
Authors:
Walter Bright, Digital Mars, http://www.digitalmars.com
License:
Public Domain

_NFILE
BUFSIZ
EOF
FOPEN_MAX
FILENAME_MAX
  255 plus NULL
TMP_MAX
_SYS_OPEN
SYS_OPEN
WEOF
struct _iobuf;
alias FILE;
FILE[_NFILE] _iob;
void function() _fcloseallp;
ubyte[_NFILE] __fhnd_info;
_iobuf* stdin;
_iobuf* stdout;
_iobuf* stderr;
_iobuf* stdaux;
_iobuf* stdprn;
const char[] _P_tmpdir;
const wchar[] _wP_tmpdir;
const int L_tmpnam;
alias fpos_t;
char* tmpnam(char*);
_iobuf* fopen(in char*, in char*);
_iobuf* _fsopen(in char*, in char*, int);
_iobuf* freopen(in char*, in 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(in char*, _iobuf*);
char* gets(char*);
int fputc(int, _iobuf*);
int _fputchar(int);
int puts(in char*);
int ungetc(int, _iobuf*);
size_t fread(void*, size_t, size_t, _iobuf*);
size_t fwrite(in void*, size_t, size_t, _iobuf*);
int fprintf(_iobuf*, in char*,...);
int vfprintf(_iobuf*, in char*, va_list);
int vprintf(in char*, va_list);
int sprintf(char*, in char*,...);
int vsprintf(char*, in char*, va_list);
int scanf(in char*,...);
int fscanf(_iobuf*, in char*,...);
int sscanf(char*, in char*,...);
void setbuf(_iobuf*, char*);
int setvbuf(_iobuf*, char*, int, size_t);
int remove(in char*);
int rename(in char*, in char*);
void perror(in 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*, size_t, in char*,...);
int _vsnprintf(char*, size_t, in char*, va_list);
int unlink(in char*);
_iobuf* fdopen(int, in char*);
int fgetchar();
int fputchar(int);
int fcloseall();
int filesize(in char*);
int flushall();
int getch();
int getche();
int kbhit();
char* tempnam(in char* dir, in char* pfx);
wchar* _wtmpnam(wchar*);
_iobuf* _wfopen(in wchar*, in wchar*);
_iobuf* _wfsopen(in wchar*, in wchar*, int);
_iobuf* _wfreopen(in wchar*, in wchar*, _iobuf*);
wchar* fgetws(wchar*, int, _iobuf*);
int fputws(in wchar*, _iobuf*);
wchar* _getws(wchar*);
int _putws(in wchar*);
int wprintf(in wchar*,...);
int fwprintf(_iobuf*, in wchar*,...);
int vwprintf(in wchar*, va_list);
int vfwprintf(_iobuf*, in wchar*, va_list);
int swprintf(wchar*, in wchar*,...);
int vswprintf(wchar*, in wchar*, va_list);
int _snwprintf(wchar*, size_t, in wchar*,...);
int _vsnwprintf(wchar*, size_t, in wchar*, va_list);
int wscanf(in wchar*,...);
int fwscanf(_iobuf*, in wchar*,...);
int swscanf(wchar*, in wchar*,...);
int _wremove(in wchar*);
void _wperror(in wchar*);
_iobuf* _wfdopen(int, in wchar*);
wchar* _wtempnam(in wchar*, in wchar*);
wchar_t fgetwc(_iobuf*);
wchar_t _fgetwchar_t();
wchar_t fputwc(wchar_t, _iobuf*);
wchar_t _fputwchar_t(wchar_t);
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);
int fwide(_iobuf* fp, int mode);

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