mystdio.h
来自「S3C4510(ARM7)开发板bootloader实现及板载硬件测试代码」· C头文件 代码 · 共 38 行
H
38 行
#ifndef MYSTDIO_H
#define MYSTDIO_H
#ifdef __cplusplus
extern "C" {
#endif
#ifdef TARGET_PC
#include <stdio.h>
#endif
#ifndef TARGET_PC
#include "define.h"
#include "myprintf.h"
#ifndef EOF
#define EOF -1
#endif
#ifndef NULL
#define NULL (void *)0
#endif
#ifndef INT_MAX
#define INT_MAX (~0)
#endif
#endif
extern int getchar(void);
extern char *gets(char *s);
extern int putchar(int ch);
extern int puts(const char *s);
extern int printf(const char *format, ...);
extern void stdiodemo(void);
#ifdef __cplusplus
}
#endif
#endif /* MYSTDIO_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?