summaryrefslogtreecommitdiff
path: root/src/echo.c
diff options
context:
space:
mode:
authorradiohotline <radiohotline@disroot.org>2026-03-14 16:20:47 +0300
committerradiohotline <radiohotline@disroot.org>2026-03-14 16:20:47 +0300
commitaad798d9df7417009fa4438aac61ac8e0e4ded36 (patch)
tree7729ac68c07e183215687d585203d89e862666e1 /src/echo.c
first commit
Diffstat (limited to 'src/echo.c')
-rw-r--r--src/echo.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/echo.c b/src/echo.c
new file mode 100644
index 0000000..ad853f1
--- /dev/null
+++ b/src/echo.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+int main(int argc, char *argv[]) {
+ for (int i=1; i < argc; i++) {
+ printf("%s ", argv[i]);
+ }
+
+ printf("\n");
+
+ return 0;
+}