31.4 getpmsg and putpmsg Functions
When support for different priority bands was added to STREAMS with SVR4, the following two variants of getmsg and putmsg were added:
#include <stropts.h> |
int getpmsg(int fd , struct strbuf *ctlptr , struct strbuf *dataptr , int *bandp , int *flagsp ) ; |
int putpmsg(int fd , const struct strbuf *ctlptr , const struct strbuf *dataptr , int band , int flags ) ; |
Both return: non-negative value if OK, 1 on error |