Linux的select函數實例

/* 函數說明:正常每隔一秒打印一個數字,當有fd被設置時,就立刻執行操做。而不是被阻塞住 */ #include <sys/time.h> #include <sys/types.h> #include <unistd.h> #include <stdio.h> #include <string.h> #include <error.h> #include <sys/stat.h> #inclu
相關文章
相關標籤/搜索