]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/util_posix.h
dcf9d99aa6128a293f2ec369f13f24688d0de103
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // utilities requiring Posix library functions
9 //-----------------------------------------------------------------------------
11 #ifndef UTIL_POSIX_H__
12 #define UTIL_POSIX_H__
18 # define sleep(n) Sleep(1000 *(n))
19 # define msleep(n) Sleep((n))
21 extern void msleep(uint32_t n
); // sleep n milliseconds
24 extern uint64_t msclock(); // a milliseconds clock