#include #include #include kcond ksemitc(const char** array, sz bufsz, kiochan channel) { ubyte cache [sizeof(ksbuf) + bufsz]; ksbuf* out = ksbufmk(cache, channel, bufsz); kcond c = ksbufwrite(out, array); if (!kokay(c)) return c; return ksbufflush(out); }