NR_PARTIAL_READS
char buf[MSG_LEN * NR_PARTIAL_READS] = {};
for (i = 0; i < NR_PARTIAL_READS; i++) {
remain = MSG_LEN * (NR_PARTIAL_READS - 1 - i);