fig18.13

来自「unix环境编程」· 13 代码 · 共 10 行

13
10
字号
#include	<termios.h>intisatty(int fd){	struct termios	ts;	return(tcgetattr(fd, &ts) != -1); /* true if no error (is a tty) */}

⌨️ 快捷键说明

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