Sign in
ara-mdk
/
platform
/
external
/
valgrind
/
1cd04c8275bf97407494e356ee07f1f7d38517bd
/
.
/
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
;
}