aboutsummaryrefslogtreecommitdiff
path: root/test/stubbed/util/delay.h
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-02-02 11:56:49 +0530
committerAkshay Nair <phenax5@gmail.com>2026-02-02 11:56:49 +0530
commit43c3eb90cc73ee3094590ab5b315d3611fcf848a (patch)
treeb56a28c93a6632ec1793d0a70d1f72846be8a1c6 /test/stubbed/util/delay.h
parent352d78fbfd97252f1d39f0f98a36b2c62cfc241c (diff)
downloaddaft-watch-43c3eb90cc73ee3094590ab5b315d3611fcf848a.tar.gz
daft-watch-43c3eb90cc73ee3094590ab5b315d3611fcf848a.zip
Add simple stubb for testing
Diffstat (limited to '')
-rw-r--r--test/stubbed/util/delay.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/stubbed/util/delay.h b/test/stubbed/util/delay.h
new file mode 100644
index 0000000..ce4323e
--- /dev/null
+++ b/test/stubbed/util/delay.h
@@ -0,0 +1,5 @@
+#include <unistd.h>
+
+void _delay_ms(int ms) {
+ usleep(ms * 1000);
+}