libk  str.h at [6479e060a3]

File kstr/str.h artifact 69d05c5e37 part of check-in 6479e060a3


#ifndef KIstr
#define KIstr

#include <k/mem.h>

typedef struct kstr {
	sz size;
	kmptr ptr;
} kstr;

typedef struct ksraw {
	sz size;
	const char* ptr;
} ksraw;

typedef struct ksmut {
	sz size;
	char* ptr;
} ksmut;
#endif