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

📄 mystdio.h

📁 S3C4510(ARM7)开发板bootloader实现及板载硬件测试代码
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -