#include #include ksbuf* ksbufmk (void* where, kiochan channel, sz run) { ksbuf* r = where; r -> cur = r -> buf; r -> channel = channel; r -> run = run; return r; }