fn memmoveSmall(opt_dest: ?[*]u8, opt_src: ?[*]const u8, len: usize) callconv(.c) ?[*]u8
fn memmoveSmall(opt_dest: ?[*]u8, opt_src: ?[*]const u8, len: usize) callconv(.c) ?[*]u8 { const dest = opt_dest.?; const src = opt_src.?; if (@intFromPtr(dest) < @intFromPtr(src)) { for (0..len) |i| { dest[i] = src[i]; } } else { for (0..len) |i| { dest[len - 1 - i] = src[len - 1 - i]; } } return dest; }