readline.h
来自「unix网络编程第一卷socket编程书上的全部源代码」· C头文件 代码 · 共 13 行
H
13 行
typedef struct { int read_fd; /* caller's descriptor to read from */ char *read_ptr; /* caller's buffer to read into */ size_t read_maxlen; /* max #bytes to read */ /* next three are used internally by the function */ int rl_cnt; /* initialize to 0 */ char *rl_bufptr; /* initialize to rl_buf */ char rl_buf[MAXLINE];} Rline;void readline_rinit(int, void *, size_t, Rline *);ssize_t readline_r(Rline *);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?