📄 iob.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -