summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDavid Moc <personal@cdatgoose.org>2026-03-09 17:40:18 +0100
committerDavid Moc <personal@cdatgoose.org>2026-03-09 17:40:18 +0100
commit1af8b8a568ba1782c7f54c575dd7cbe352e0d4a4 (patch)
tree098fa8507bf30537a1b4cfa0b2389f5f142b17cb /main.c
Pushing to repo.HEADmaster
Diffstat (limited to 'main.c')
-rw-r--r--main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..0b1ca8e
--- /dev/null
+++ b/main.c
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include <unistd.h>
+#include <stdlib.h>
+int main(int argc, char *argv[])
+{
+ sleep(2);
+ if (argc < 2) {
+ printf("Usage: %s <name>\n", argv[1]);
+ return EXIT_FAILURE;
+ }
+ printf("Hello World from %s\n", argv[1]);
+ return EXIT_SUCCESS;
+}