?? mysleep.c
字號:
#include <sys/types.h>#include <sys/time.h> /* posix location for select */#include "mysleep.h"char mysleep_rcsid[] = "$Id: mysleep.c,v 1.1 2000/07/22 20:20:50 dholland Exp $";#ifdef USE_MYSLEEPchar mysleep_in_use[] = "$Info: mysleep is in use $";void mysleep(int secs) { struct timeval tv; tv.tv_sec = secs; tv.tv_usec = 0; select(0, NULL, NULL, NULL, &tv);}#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -