摘要:
利用 pipe 做接收資料 case 1 Terminal_1 Terminal_2 Terminal_2 Terminal_3 $ cat 阅读全文
posted @ 2019-03-20 14:12
wangchangruei
阅读(225)
评论(0)
推荐(0)
摘要:
isatty test whether a file descriptor refers to a terminal a.out 的 stdin 來自 terminal,所以 isatty(STDIN_FILENO) 為 1 a.out 的 stdin 是來自 pipe,不是來自 terminal, 阅读全文
posted @ 2019-03-20 10:33
wangchangruei
阅读(293)
评论(0)
推荐(0)

浙公网安备 33010602011771号