4 * Stefan Haubenthal, 2003-06-11
5 * Ullrich von Bassewitz, 2003-06-12
16 /* We cannot implement this function without a working clock function */
17 #if defined(CLOCKS_PER_SEC)
18 unsigned __fastcall__ sleep (unsigned wait)
20 clock_t goal = clock () + ((clock_t) wait) * CLOCKS_PER_SEC;
21 while ((long) (goal - clock ()) > 0) ;