Artifact 69d05c5e3758674fe42e9c77269f54c975b8c173fb9be11975ffdcba0d840934:
- File kstr/str.h — part of check-in [6479e060a3] at 2019-07-26 09:51:02 on branch trunk — major update. fix ridiculous old type size determination mechanism. mmap is still broken and i'm not sure why; the syscall does not appear to be going through correctly - see posix_mmap, kmheapa, and kcore/testbin.exe.fn (user: lexi, size: 224) [annotate] [blame] [check-ins using]
#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