You are using FD_SET correctly. You are asking select() to notify you when file descriptor 0 (standard input) is ready for reading.
確定! 回上一頁