Query: insq
OS: osf1
Section: 9r
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
insq(9r) insq(9r)NAMEinsq - STREAMS: Inserts a STREAMS message into a queueSYNOPSIS#include <sys/stream.h> int insq( queue_t *message_queue, MBLKP message, MBLKP message_to_be_inserted );ARGUMENTSSpecifies a pointer to the message queue that contains the message passed to the message argument. The typedef queue_t is an alternate name for struct queue_entry *. Specifies the enqueued message before which the new message is to be inserted. The typedef MBLKP is an alternate name for typedef struct msgb *. Specifies the message to be inserted. The typedef MBLKP is an alternate name for typedef struct msgb *.DESCRIPTIONThe insq interface inserts a STREAMS message into a queue. The message to be inserted (the message_to_be_inserted argument) is placed in the queue (the message_queue argument) immediately before the message associated with the message argument. If the message argument is NULL, insq places the new message at the end of the queue. The interface ignores the queue class of the new message and it updates all flow-control parameters. The insq interface also enables the service procedure unless the QNOENB flag bit is set.CAUTIONSIf the message argument is non-NULL, it must point to a message on the queue or a system panic could occur.RETURN VALUESUpon successful completion, insq returns the value 1. On failure, it returns the value zero(0).SEE ALSOProgrammer's Guide: STREAMS insq(9r)
Related Man Pages |
---|
insq(9f) - debian |
insq(9f) - osx |
insq(9f) - xfree86 |
insq(9f) - bsd |
insq(9f) - freebsd |
Similar Topics in the Unix Linux Community |
---|
message queue problem |
Move xml files from unix to message queue. |