aboutsummaryrefslogtreecommitdiff
path: root/8.5/main.c
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-19 13:17:33 +0530
committersinanmohd <sinan@firemail.cc>2023-05-19 18:45:33 +0530
commitf6901aab1fb07f8ee807afb7b76a3c69ff6a9370 (patch)
tree3dd990b5e3b45568b1f6c1a006e69f8a8b51ea9c /8.5/main.c
parent68f15b3002235095d9649ba423069b492cf63746 (diff)
8.5: initial commit
Diffstat (limited to '8.5/main.c')
-rw-r--r--8.5/main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/8.5/main.c b/8.5/main.c
new file mode 100644
index 0000000..4a9ed19
--- /dev/null
+++ b/8.5/main.c
@@ -0,0 +1,12 @@
+#include "fsize.h"
+
+int main(int argc, char *argv[])
+{
+ if (argc == 1)
+ fsize(".");
+ else
+ while (--argc > 0)
+ fsize(*++argv);
+
+ return 0;
+}