4 int main(int argc
, char **argv
)
8 int i
= argv
[1] ? atoi(argv
[1]) : 999999;
10 sprintf(buf
, "%d", i
);
11 setenv("VAR", buf
, 1);
13 printf("Check size of [heap] mapping:\n");
14 freopen("/proc/self/maps", "r", stdin
);
15 while (fgets(buf
, sizeof(buf
), stdin
))