Lines Matching refs:msgtyp
736 static inline int convert_mode(long *msgtyp, int msgflg)
740 * msgtyp = 0 => get first.
741 * msgtyp > 0 => get first message of matching type.
742 * msgtyp < 0 => get message with least type must be < abs(msgtype).
744 if (*msgtyp == 0)
746 if (*msgtyp < 0) {
747 *msgtyp = -*msgtyp;
756 size_t msgsz, long msgtyp, int msgflg)
765 mode = convert_mode(&msgtyp, msgflg);
786 if (testmsg(walk_msg, msgtyp, mode) &&
788 msgtyp, mode)) {
794 msgtyp = walk_msg->m_type - 1;
829 msr_d.r_msgtype = msgtyp;
908 long, msgtyp, int, msgflg)
912 err = do_msgrcv(msqid, &mtype, msgp->mtext, msgsz, msgtyp, msgflg);