iob.h

来自「Intel x86处理器的汇编器」· C头文件 代码 · 共 24 行

H
24
字号
#ifndef _FILE_H_#define _FILE_H_#define IO_BUFSIZE	8192#define LINE_SIZE	80typedef struct iob {	int fd;	int cnt;	char *buf_ptr;	char *tail_ptr;	char buf[IO_BUFSIZE];} iob_t;void init_iob(int fd, struct iob *p);int read_into_iob(struct iob *p, unsigned int count);int read_from_iob(struct iob *p, void *usrbuf, unsigned int count);int write_from_iob(struct iob *p, unsigned int count);#endif

⌨️ 快捷键说明

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