00001
00002
00003
00004 #ifndef __PRINTF_H__
00005 #define __PRINTF_H__
00006
00007 #include "machine.h"
00008
00009
00010
00011
00012 #undef kbhit
00013 #undef getche
00014 #undef getch
00015 #undef putch
00016
00017 #undef fgetc
00018 #undef getchar
00019 #undef getc
00020 #undef fgets
00021 #undef gets
00022
00023 #undef fputc
00024 #undef putchar
00025 #undef putc
00026 #undef fputs
00027 #undef puts
00028
00029 #undef fprintf
00030 #undef printf
00031 #undef vprintf
00032 #undef vfprintf
00033
00034 #undef fwrite
00035 #undef fread
00036
00037 int MyPutCh (int ch);
00038 int MyGetCh (void);
00039 char * MyFGetS (char *str, unsigned int size, FILE * file);
00040 int MyFPutC (int ch, FILE * file);
00041 int MyFPutS (char *str, FILE * file);
00042 void Scistring (char *str);
00043 void sciprint (char *fmt,...);
00044 void sciprint_nd (char *fmt,...);
00045 int sciprint2 (int iv, char *fmt,...);
00046 size_t MyFWrite (const void *ptr, size_t size, size_t n, FILE * file);
00047 size_t MyFRead (void *ptr, size_t size, size_t n, FILE * file);
00048 void Xputchar (c);
00049 void Xputstring (str, n);
00050 void Scisncr (str);
00051 void C2F(diary) __PARAMS((char *str,int *n));
00052 void diary_nnl __PARAMS((char *str,int *n));
00053 #endif
00054