libk  ks_to_int.c at tip

File mod/kstr/ks_to_int.c from the latest check-in


#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;
}