summaryrefslogtreecommitdiff
path: root/legacy/evil/src/lib/evil_unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/evil/src/lib/evil_unistd.h')
-rw-r--r--legacy/evil/src/lib/evil_unistd.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/legacy/evil/src/lib/evil_unistd.h b/legacy/evil/src/lib/evil_unistd.h
index cdb4c3122b..b9ad67e8a6 100644
--- a/legacy/evil/src/lib/evil_unistd.h
+++ b/legacy/evil/src/lib/evil_unistd.h
@@ -62,6 +62,32 @@ EAPI int evil_gettimeofday(struct timeval * tp, void * tzp);
62 */ 62 */
63#define gettimeofday(tp,tzp) evil_gettimeofday((tp),(tzp)) 63#define gettimeofday(tp,tzp) evil_gettimeofday((tp),(tzp))
64 64
65#ifdef _MSC_VER
66
67/**
68 * @brief Suspend the execution of the calling process for microsecond
69 * intervals.
70 *
71 * @param usec The interval in microseconds.
72 * @return Always 0 (success).
73 *
74 * This function suspends the execution of the calling process for (at
75 * least) @p usec microseconds.
76 *
77 * Conformity: Not appliclable.
78 *
79 * Supported OS: Windows XP, Windows CE.
80 */
81EAPI int evil_usleep(unsigned long usec);
82
83/**
84 * @def usleep(usec)
85 *
86 * Wrapper around evil_usleep().
87 */
88#define usleep(usec) evil_usleep(usec);
89
90#endif /* _MSC_VER */
65 91
66/* 92/*
67 * Process identifer related functions 93 * Process identifer related functions