*dst++=total;
*kp++;

do they move the pointer one step forward or something?

thanks