buf[i] = random() & 0xff;
}
- diag("Wrote random to buffer\n");
-
- s->total = 0;
for (i = 0; i < sizeof(buf); i++) {
s->total += buf[i];
}
if (COROUTINE_AVAILABLE) {
struct coroutine_state t;
struct state s = {
+ .total = 0,
};
coroutine_init(&t, clobber, &s, stack);