Getmsg
int Getmsg (MESG *, strbuf_t *, strbuf_t *, int *);
while (Getmsg(mdp, &ctl, &ctl, &flag) >= 0);
if (Getmsg(md, &ctl, &dat, &flag) < 0)