stdioinit.c
来自「ppc 8245 可编译bsp 包括 uart」· C语言 代码 · 共 83 行
C
83 行
/* stdioLibInit.c - stdio library initialization *//* Copyright 1992 Wind River Systems, Inc. *//*modification history--------------------01c,13oct92,jcf removed stdioShow reference.01b,24sep92,smb removed POSIX extensions.01a,05sep92,smb written.*//*DESCRIPTIONThis file is used to include the stdio ANSI C library routines in the VxWorks build. The routines are only included when this file is included by usrConfig.c.NOMANUAL*/#ifndef __INCstdioLibInitc#define __INCstdioLibInitc#include "vxWorks.h"#include "stdio.h"#undef clearerr /* #undef needed for the MIPS compiler */#undef feof#undef ferror#undef getchar#undef getc#undef putchar#undef putcVOIDFUNCPTR stdioFiles[] = { (VOIDFUNCPTR) clearerr, (VOIDFUNCPTR) fclose, (VOIDFUNCPTR) feof, (VOIDFUNCPTR) ferror, (VOIDFUNCPTR) fflush, (VOIDFUNCPTR) fgetc, (VOIDFUNCPTR) fgetpos, (VOIDFUNCPTR) fgets, (VOIDFUNCPTR) fopen, (VOIDFUNCPTR) fprintf, (VOIDFUNCPTR) fputc, (VOIDFUNCPTR) fputs, (VOIDFUNCPTR) fread, (VOIDFUNCPTR) freopen, (VOIDFUNCPTR) fscanf, (VOIDFUNCPTR) fseek, (VOIDFUNCPTR) fsetpos, (VOIDFUNCPTR) ftell, (VOIDFUNCPTR) fwrite, (VOIDFUNCPTR) getc, (VOIDFUNCPTR) getchar, (VOIDFUNCPTR) gets, (VOIDFUNCPTR) perror, (VOIDFUNCPTR) putc, (VOIDFUNCPTR) putchar, (VOIDFUNCPTR) puts, (VOIDFUNCPTR) rewind, (VOIDFUNCPTR) scanf, (VOIDFUNCPTR) setbuf, (VOIDFUNCPTR) setvbuf, (VOIDFUNCPTR) tmpfile, (VOIDFUNCPTR) tmpnam, (VOIDFUNCPTR) ungetc, (VOIDFUNCPTR) vfprintf, (VOIDFUNCPTR) fdopen, (VOIDFUNCPTR) fileno,#if _EXTENSION_WRS /* undef for ANSI */ (VOIDFUNCPTR) getw, (VOIDFUNCPTR) putw, (VOIDFUNCPTR) setbuffer,#endif /* _EXTENSION_WRS */ };#endif /* __INCstdioLibInitc */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?