isatty.c
来自「unix环境编程」· C语言 代码 · 共 10 行
C
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 + -
显示快捷键?