Artifact 4a1030ebc96ed69268d3f0b75b38fb3976f3f05990a1c1f6e939373986bccab0:
- File kstr/ks_to_int.c — part of check-in [a8d93823f1] at 2019-08-18 13:42:35 on branch trunk — add functions, generate C syscall table (user: lexi, size: 360) [annotate] [blame] [check-ins using]
- File mod/kstr/ks_to_int.c — part of check-in [14172a910a] at 2019-08-21 06:00:24 on branch trunk — move modules to a subdirectory in order to keep the directory tree organized and make room for OS-specific build files (user: lexi, size: 360) [annotate] [blame] [check-ins using]
#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; }