libk  str.h at [85a8c60bd2]

File kstr/str.h artifact 69d05c5e37 part of check-in 85a8c60bd2


#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