Linux C sleep函數

C 語言中可用 sleep() 函數實現休眠,具體以下:linux (1) MFC中的Sleep函數原型:   void Sleep(DWORD dwMilliseconds);windows (2) linux下的sleep函數原型:函數 unsigned int sleep(unsigned int seconds);spa 其中MFC中的是單位是微秒,要包含頭文件 <windows.h> ,
相關文章
相關標籤/搜索