5 char * touch_malloc (int size
)
9 result
= malloc (size
);
10 for (i
= 0; i
< size
; i
++)
15 char * touch_realloc (char * ptr
, int size
)
19 result
= realloc (ptr
, size
);
20 for (i
= 0; i
< size
; i
++)
28 char *a1
, *b1
, *a2
__attribute__((unused
)), *b2
__attribute__((unused
));
30 a1
= touch_malloc(1600000) ;
31 b1
= touch_malloc(200000) ;
32 a2
= touch_realloc(a1
, 1601600) ;
33 b2
= touch_realloc(b1
, 200000) ;