'programming/C_C++'에 해당되는 글 279건

  1. 2017.08.09 nSleep

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 공간사랑
,