如果不要求很精確的話,用alarm()和signal()就夠了. unsigned int alarm(unsigned int seconds). 函數說明: alarm()用來設置信號SIGALRM在經過參數seconds指定的秒數後 ...
確定! 回上一頁