Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
busybox
/
3cf52d19581b2077480e7d2e63010baa1f5399c1
/
.
/
length.c
blob: 284bbfdf96ac29b40ad69f871ad25b54bed292ad [
file
] [
log
] [
blame
]
#include
"internal.h"
#include
<stdlib.h>
#include
<string.h>
#include
<stdio.h>
const
char
length_usage
[]
=
"length string"
;
int
length_main
(
struct
FileInfo
*
i
,
int
argc
,
char
*
*
argv
)
{
printf
(
"%d\n"
,
strlen
(
argv
[
1
]));
return
0
;
}