 |
Index for Section 9r |
|
 |
Alphabetical listing for P |
|
 |
Bottom of page |
|
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
queue_pointer
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 *.
message_ptr
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 interface
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)
 |
Index for Section 9r |
|
 |
Alphabetical listing for P |
|
 |
Top of page |
|