strncpy(dst, src, size) { local i = 0; loop { if ([src + i] == 0 | i == size) return (dst); [dst + i] = [src + i]; i++; } }