libk  Artifact [25e9d731b6]

Artifact 25e9d731b6809c3e429110ccd417e02702f16ee16fae9f8065fd2ee822a39c53:


#include <k/type.h>
#include <k/str.h>

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