about summary refs log tree commit diff stats
path: root/max.c
diff options
context:
space:
mode:
authoraabacchus <ben@bvnf.space>2021-05-19 00:11:26 +0100
committeraabacchus <ben@bvnf.space>2021-05-19 00:11:26 +0100
commit3a14f3cf7a1bd094ae73a4d2ca151464a9eda224 (patch)
tree21ca13dd11b0ea7f79feb110b954050b1656bf7a /max.c
downloadkandr-3a14f3cf7a1bd094ae73a4d2ca151464a9eda224.tar.gz
might as well make commits out of these
Diffstat (limited to 'max.c')
-rw-r--r--max.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/max.c b/max.c
new file mode 100644
index 0000000..ef5b331
--- /dev/null
+++ b/max.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+#include <time.h>
+int main() {
+    char i = 0;
+    while (1) {
+        printf("%d\n", i);
+        i++;
+        sleep(1);
+    }
+    return 0;
+}