D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Tue Oct 16 09:58:59 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 function()* _fcloseallp;
ubyte[60u] __fhnd_info;
final _iobuf* stdin;
final _iobuf* stdout;
final _iobuf* stderr;
final _iobuf* stdaux;
final _iobuf* stdprn;
const const(char)[] _P_tmpdir;
const const(wchar)[] _wP_tmpdir;
const int L_tmpnam;
alias fpos_t;
char* tmpnam(char*);
_iobuf* fopen(in const const char*, in const const char*);
_iobuf* _fsopen(in const const char*, in const const char*, int);
_iobuf* freopen(in const const char*, in const const 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 const const char*, _iobuf*);
char* gets(char*);
int fputc(int, _iobuf*);
int _fputchar(int);
int puts(in const const char*);
int ungetc(int, _iobuf*);
uint fread(void*, uint, uint, _iobuf*);
uint fwrite(in const const void*, uint, uint, _iobuf*);
int fprintf(_iobuf*, in const const char*,...);
int vfprintf(_iobuf*, in const const char*, void*);
int vprintf(in const const char*, void*);
int sprintf(char*, in const const char*,...);
int vsprintf(char*, in const const char*, void*);
int scanf(in const const char*,...);
int fscanf(_iobuf*, in const const char*,...);
int sscanf(char*, in const const char*,...);
void setbuf(_iobuf*, char*);
int setvbuf(_iobuf*, char*, int, uint);
int remove(in const const char*);
int rename(in const const char*, in const const char*);
void perror(in const const 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, in const const char*,...);
int _vsnprintf(char*, uint, in const const char*, void*);
int unlink(in const const char*);
_iobuf* fdopen(int, in const const char*);
int fgetchar();
int fputchar(int);
int fcloseall();
int filesize(in const const char*);
int flushall();
int getch();
int getche();
int kbhit();
char* tempnam(in const const char* dir, in const const char* pfx);
wchar* _wtmpnam(wchar*);
_iobuf* _wfopen(in const const wchar*, in const const wchar*);
_iobuf* _wfsopen(in const const wchar*, in const const wchar*, int);
_iobuf* _wfreopen(in const const wchar*, in const const wchar*, _iobuf*);
wchar* fgetws(wchar*, int, _iobuf*);
int fputws(in const const wchar*, _iobuf*);
wchar* _getws(wchar*);
int _putws(in const const wchar*);
int wprintf(in const const wchar*,...);
int fwprintf(_iobuf*, in const const wchar*,...);
int vwprintf(in const const wchar*, void*);
int vfwprintf(_iobuf*, in const const wchar*, void*);
int swprintf(wchar*, in const const wchar*,...);
int vswprintf(wchar*, in const const wchar*, void*);
int _snwprintf(wchar*, uint, in const const wchar*,...);
int _vsnwprintf(wchar*, uint, in const const wchar*, void*);
int wscanf(in const const wchar*,...);
int fwscanf(_iobuf*, in const const wchar*,...);
int swscanf(wchar*, in const const wchar*,...);
int _wremove(in const const wchar*);
void _wperror(in const const wchar*);
_iobuf* _wfdopen(int, in const const wchar*);
wchar* _wtempnam(in const const wchar*, in const const 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);

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