osf1 man page for putq

Query: putq

OS: osf1

Section: 9r

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

putq(9r)																  putq(9r)

NAME
putq - STREAMS: Puts a message on a queue
SYNOPSIS
#include <sys/stream.h> int putq( queue_t *queue_pointer, MBLKP message_ptr );
ARGUMENTS
Specifies a pointer to the queue to which the message is to be added. The typedef queue_t is an alternate name for struct queue_entry *. Specifies a pointer to the message block to be placed on the queue. The typedef MBLKP is an alternate name for typedef struct msgb *.
DESCRIPTION
The putq interface puts a message on a driver's queue after the module's put interface has finished processing the message. The putq inter- face places the message after any other messages of the same priority and then updates any flow-control parameters. If the QNOENB flag bit is not set, putq enables the service interface. If no processing is done, the putq interface can be used as the module's put interface.
RETURN VALUES
Upon successful completion, putq returns the value 1. On failure, it returns the value zero(0).
SEE ALSO
Kernel Interfaces: putbq(9r), qenable(9r), rmvq(9r) putq(9r)
Related Man Pages
putq(9f) - minix
putq(9f) - mojave
putq(9f) - linux
putq(9f) - xfree86
putq(9f) - hpux
Similar Topics in the Unix Linux Community
Tcp ip port open but no such process (merged: Release A Port)
Insert a newline in XML
Showing strange size in df output
Parsing a column of text file - best practices