aboutsummaryrefslogtreecommitdiff
path: root/length.c
diff options
context:
space:
mode:
Diffstat (limited to 'length.c')
-rw-r--r--length.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/length.c b/length.c
deleted file mode 100644
index 73becd28a..000000000
--- a/length.c
+++ /dev/null
@@ -1,13 +0,0 @@
1/* vi: set sw=4 ts=4: */
2#include <stdlib.h>
3#include <string.h>
4#include <stdio.h>
5#include "busybox.h"
6
7extern int length_main(int argc, char **argv)
8{
9 if (argc != 2 || **(argv + 1) == '-')
10 show_usage();
11 printf("%lu\n", (long)strlen(argv[1]));
12 return EXIT_SUCCESS;
13}