summaryrefslogtreecommitdiffstats
path: root/labb1/lib/lifeutil.h
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2020-09-11 00:20:27 +0200
committerGustav Sörnäs <gustav@sornas.net>2020-09-11 09:16:37 +0200
commitbc5ec9a8a0027d6c6801fdc48a065a54a97856dc (patch)
treedb3b260663fa087f29e9738bef09e0f4a96b3ad6 /labb1/lib/lifeutil.h
downloadtddd86-bc5ec9a8a0027d6c6801fdc48a065a54a97856dc.tar.gz
wip L1
Diffstat (limited to 'labb1/lib/lifeutil.h')
-rw-r--r--labb1/lib/lifeutil.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/labb1/lib/lifeutil.h b/labb1/lib/lifeutil.h
new file mode 100644
index 0000000..62a18e1
--- /dev/null
+++ b/labb1/lib/lifeutil.h
@@ -0,0 +1,14 @@
+#ifndef LIFEUTIL_H
+#define LIFEUTIL_H
+
+/*
+ * Erases all currently visible test from the output console.
+ */
+void clearConsole();
+
+/*
+ * Causes the program to halt execution for the given number of milliseconds.
+ */
+void pause(int ms);
+
+#endif // LIFEUTIL_H