int poll(struct pollfd *fds, nfds_t nfds, int timeout); struct pollfd { int fd; ... 函數適合於只檢測少量fd描述檔的情况,而poll()函數適合於大量描述檔的情況。
確定! 回上一頁