nonstdio.h

来自「上传linux-jx2410的源代码」· C头文件 代码 · 共 27 行

H
27
字号
/* * BK Id: SCCS/s.nonstdio.h 1.8 12/01/01 20:09:07 benh */typedef int	FILE;extern FILE *xmon_stdin, *xmon_stdout;#define EOF	(-1)#define stdin	xmon_stdin#define stdout	xmon_stdout#define printf	xmon_printf#define fprintf	xmon_fprintf#define fputs	xmon_fputs#define fgets	xmon_fgets#define putchar	xmon_putchar#define getchar	xmon_getchar#define putc	xmon_putc#define getc	xmon_getc#define fopen(n, m)	NULL#define fflush(f)	do {} while (0)#define fclose(f)	do {} while (0)extern char *fgets(char *, int, void *);extern void xmon_printf(const char *, ...);extern void xmon_fprintf(void *, const char *, ...);extern void xmon_sprintf(char *, const char *, ...);extern void xmon_puts(char*);#define perror(s)	printf("%s: no files!\n", (s))

⌨️ 快捷键说明

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