#include <unistd.h>
unsigned int sleep(unsigned int seconds);//睡眠秒
返回值:成功返回0,或者返回剩余的要睡眠的秒数(被signal中断后).
int usleep(useconds_t usec);//睡眠微秒
返回值:成功返回0,出错返回-1.
useconds_t == unsigned int
#include <unistd.h>
unsigned int sleep(unsigned int seconds);//睡眠秒
返回值:成功返回0,或者返回剩余的要睡眠的秒数(被signal中断后).
int usleep(useconds_t usec);//睡眠微秒
返回值:成功返回0,出错返回-1.
useconds_t == unsigned int