usleep功能把进程挂起一段时间,单位是微秒 头文件: unistd.h 语法:void usleep(int micro_seconds); 返回值:无 sleep(unisgned long); sleep()里面的单位是秒,而不是毫秒