1 2 3 4 5 6 7 8 9
#include "kern/string.h" void kstrcpy(char* into, const char* from) { while (*from) { *(into++) = *(from++); } *into = 0; }