Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
ltp
/
d2a255e0d8a285431ade06178e6b8edf8e6a9743
/
.
/
testcases
/
kernel
/
mce-test
/
tools
/
simple_process
/
simple_process.c
blob: 4832877e413ea227b828001d101588fd240f25a0 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
#include
<string.h>
#include
<unistd.h>
int
main
(
void
)
{
void
*
p
=
malloc
(
128
);
printf
(
"allocating 128 bytes of memory\n"
);
while
(
1
)
{
memset
(
p
,
0
,
128
);
}
return
0
;
}