msghdr_t
#define MQ_PTR(m, n) ((msghdr_t *)((uintptr_t)m + (uintptr_t)n))
nextp = currentp + sizeof (msghdr_t) + temp;
msghdr_t *curbuf;
msghdr_t *curbuf;
maxmsg * (temp + sizeof (msghdr_t)) +