libk  str.h at [175dc46a91]

File kstr/str.h artifact 69d05c5e37 part of check-in 175dc46a91


#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