libk  ks_to_int.c at [c7732c41c9]

File kstr/ks_to_int.c artifact 4a1030ebc9 part of check-in c7732c41c9


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

kscond ks_to_int(ksraw str, enum ksconv mode, u8* dest, sz size) {
	u8 base = mode & 0xFF;
	kcendian endian = (mode & ksconv_endh ? kcendian_high   :
	                   mode & ksconv_endl ? kcendian_low    :
	                                        kcendian_system);
	return kscond_unimplemented;
}