nSleep

programming/C_C++ 2017. 8. 9. 13:09
반응형


void nSleep(int sec, int microsec)

{

    struct timeval tv;


    tv.tv_sec = sec; 

    tv.tv_usec = microsec;


    select( 0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &tv );


}



반응형
Posted by 공간사랑
,