Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
6863d3912cf62c72cac49129e19d990c6f758121
/
.
/
tests
/
coolo_strlen.c
blob: 16e98702513134ccf5d2efc1653db8f6db105fcc [
file
] [
log
] [
blame
]
#include
<string.h>
int
main
()
{
char
buffer
[
200
]
=
"HALLO"
;
char
*
b2
=
strdup
(
strcat
(
buffer
,
"THis is a very long strings"
));
int
len
=
strlen
(
b2
);
if
(
len
<
12
)
return
0
;
else
return
1
;
}