mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
98 lines
1.5 KiB
Text
98 lines
1.5 KiB
Text
// C++ forwarding C stdio header.
|
|
|
|
#pragma once
|
|
|
|
#include <cstddef>
|
|
#include <stdio.h>
|
|
|
|
// Get rid of those macros defined in <stdio.h> in lieu of real functions.
|
|
#undef clearerr
|
|
#undef fclose
|
|
#undef feof
|
|
#undef ferror
|
|
#undef fflush
|
|
#undef fgetc
|
|
#undef fgetpos
|
|
#undef fgets
|
|
#undef fopen
|
|
#undef fprintf
|
|
#undef fputc
|
|
#undef fputs
|
|
#undef fread
|
|
#undef freopen
|
|
#undef fscanf
|
|
#undef fseek
|
|
#undef fsetpos
|
|
#undef ftell
|
|
#undef fwrite
|
|
#undef getc
|
|
#undef getchar
|
|
#undef gets
|
|
#undef perror
|
|
#undef printf
|
|
#undef putc
|
|
#undef putchar
|
|
#undef puts
|
|
#undef remove
|
|
#undef rename
|
|
#undef rewind
|
|
#undef scanf
|
|
#undef setbuf
|
|
#undef setvbuf
|
|
#undef sprintf
|
|
#undef sscanf
|
|
#undef tmpfile
|
|
#undef tmpnam
|
|
#undef ungetc
|
|
#undef vfprintf
|
|
#undef vprintf
|
|
#undef vsprintf
|
|
|
|
namespace std
|
|
{
|
|
using ::FILE;
|
|
using ::fpos_t;
|
|
|
|
using ::clearerr;
|
|
using ::fclose;
|
|
using ::feof;
|
|
using ::ferror;
|
|
using ::fflush;
|
|
using ::fgetc;
|
|
using ::fgetpos;
|
|
using ::fgets;
|
|
using ::fopen;
|
|
using ::fprintf;
|
|
using ::fputc;
|
|
using ::fputs;
|
|
using ::fread;
|
|
using ::freopen;
|
|
using ::fscanf;
|
|
using ::fseek;
|
|
using ::fsetpos;
|
|
using ::ftell;
|
|
using ::fwrite;
|
|
using ::getc;
|
|
using ::getchar;
|
|
using ::gets;
|
|
using ::perror;
|
|
using ::printf;
|
|
using ::putc;
|
|
using ::putchar;
|
|
using ::puts;
|
|
using ::remove;
|
|
using ::rename;
|
|
using ::rewind;
|
|
using ::scanf;
|
|
using ::setbuf;
|
|
using ::setvbuf;
|
|
using ::sprintf;
|
|
using ::sscanf;
|
|
using ::tmpfile;
|
|
using ::tmpnam;
|
|
using ::ungetc;
|
|
using ::vfprintf;
|
|
using ::vprintf;
|
|
using ::vsprintf;
|
|
using ::vsnprintf;
|
|
}
|