diff options
| author | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2015-10-05 08:38:46 -0400 |
|---|---|---|
| committer | Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com> | 2015-10-05 08:38:46 -0400 |
| commit | 99cf9c4dc5855b1f5f26d00267fdbbe672ee27a7 (patch) | |
| tree | 83a11a0dc0f87198e251ca7ec19504aeec152bc1 /pause.c | |
| download | foslib-99cf9c4dc5855b1f5f26d00267fdbbe672ee27a7.tar.gz foslib-99cf9c4dc5855b1f5f26d00267fdbbe672ee27a7.zip | |
Diffstat (limited to 'pause.c')
| -rw-r--r-- | pause.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ + #include <stdio.h>
+#include <time.h>
+#include "fossil.h"
+void Pause(long seconds)
+{
+clock_t done_now;
+done_now = clock() + seconds * CLOCKS_PER_SEC;
+while( clock() < done_now )
+{;}
+}
|
