msgbuf_getbytes
l = msgbuf_getbytes(mbp, buf, l);
int msgbuf_getbytes(struct msgbuf *mbp, char *buf, int buflen);