getpmsg - receive next message from a STREAMS file
#include <stropts.h> int getpmsg(int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *bandp, int *flagsp);
Refer to getmsg().