⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oemio.h

📁 This software performs code conversion of Chinese characters, including GB2312/GBK and BIG5. It a
💻 H
字号:
// oemio.h

#ifndef OEMIO_H
#define OEMIO_H

#ifdef __cplusplus
extern "C" {
#endif


int fwide ( FILE *stream, int mode ) ;


int __cdecl oem_printf ( const char *format,... ) ;
int __cdecl oem_fprintf ( FILE *stream, const char *format,... ) ;
int __cdecl oem_vfprintf ( FILE *stream, const char *format, va_list args ) ;


int __cdecl oem_wprintf ( const wchar_t *format,... ) ;
int __cdecl oem_fwprintf ( FILE *stream, const wchar_t *format,... ) ;
int __cdecl oem_vfwprintf ( FILE *stream, const wchar_t *format, va_list args ) ;

int __cdecl oem_fputs ( const char *string, FILE *stream ) ;
int __cdecl oem_fputws ( const wchar_t *string, FILE *stream ) ;
size_t __cdecl oem_fwrites ( const char *string, size_t length, FILE *stream ) ;
size_t __cdecl oem_fwritews ( const wchar_t *string, size_t length, FILE *stream ) ;


char *__cdecl oem_fgets ( char *string, int count, FILE *stream ) ;
wchar_t *__cdecl oem_fgetws ( wchar_t *string, int length, FILE *stream ) ;
size_t __cdecl oem_freads ( char *string, size_t count, FILE *stream ) ;
size_t __cdecl oem_freadws ( wchar_t *string, size_t count, FILE *stream ) ;


int fputs_line ( const char *string, FILE *stream ) ;
int fputws_line ( const wchar_t *string, FILE *stream ) ;



#define printf oem_printf
#define fprintf oem_fprintf
#define vfprintf oem_vfprintf
#define wprintf oem_wprintf
#define fwprintf oem_fwprintf
#define vfwprintf oem_vfwprintf

#define fputs oem_fputs
#define fputws oem_fputws
#define fwrites oem_fwrites
#define fwritews oem_fwritews

#define fgets oem_fgets
#define fgetws oem_fgetws
#define freads oem_freads
#define freadws oem_freadws



#ifdef __cplusplus
}
#endif

#endif


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -