AV* av; I32 i; // to delete I32 p = i; I32 c = av_len(AV) - i; while (p++, c--) { ...move from p to p-1... } ...shrink the array by one...