Logo Search packages:      
Sourcecode: pcsc-lite version File versions

INTERNAL int SYS_USleep ( int  iTimeVal  ) 

Makes the current process sleep for some microseconds.

[in] iTimeVal Number of microseconds to sleep.

Definition at line 99 of file sys_unix.c.

Referenced by SCardBeginTransaction(), SCardConnect(), SCardDisconnect(), SCardEndTransaction(), SCardGetStatusChange(), and SCardReconnect().

      struct timespec mrqtp;
      mrqtp.tv_sec = 0;
      mrqtp.tv_nsec = iTimeVal * 1000;

      return nanosleep(&mrqtp, NULL);
      return iTimeVal;

Generated by  Doxygen 1.6.0   Back to index