📄 stdio.h
字号:
/**************************************************************************
* *
* PROJECT : TMON (Transparent monitor) *
* *
* MODULE : STDIO.h *
* *
* AUTHOR : Michael Anburaj *
* URL : http://geocities.com/michaelanburaj/ *
* EMAIL: michaelanburaj@hotmail.com *
* *
* PROCESSOR : MIPS 4Kc (32 bit RISC) - ATLAS board *
* *
* Tool-chain : SDE & Cygnus *
* *
* DESCRIPTION : *
* This is a std header file. *
* *
**************************************************************************/
#ifndef __STDIO_H__
#define __STDIO_H__
/* sysdefs.h is necessary for size_t declaration*/
#include "sysdefs.h"
#include <stdarg.h>
extern int printf(const char *, ...),
sprintf(char *, const char *, ...),
unformat(int (*)(), char *,int **),
sscanf(char *s, char *fmt, ...);
extern char *index(char *s, int c);
typedef struct {
/* Note: the FILE struct members are not publicly accessible. Please
use only the API calls for forwards compatibility */
unsigned char* _start;
unsigned char* _current;
unsigned char* _eof;
char _name[512];
char _mode;
} FILE;
FILE* fopen(const char* filename, const char* options);
int fclose(FILE* file);
size_t fread(void *ptr, size_t size, size_t nitems,
FILE *stream);
size_t fwrite(const void *ptr, size_t size, size_t nitems,
FILE *stream);
int vsprintf(char *buf, char *fmt, va_list ap);
#endif /* __STDIO_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -