mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 04:10:19 +00:00
e1ef078741
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line): /DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible. /DEBUGPORT=FOO --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...) /DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port. svn path=/branches/kd++/; revision=58883
99 lines
1.6 KiB
Plaintext
99 lines
1.6 KiB
Plaintext
// 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;
|
|
}
|