Sign in
ara-mdk
/
platform
/
external
/
valgrind
/
753e06917ea5bb4684b560f29c1c46fd58227519
/
.
/
main
/
none
/
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
;
}