SVR5 and SCO OpenServer 5
put a message on a queue
int putq(queue_t *q, mblk_t *bp);
putq is used to put messages on a queue after the
routine has finished processing the message.
The message is placed after any other messages of the same priority,
and flow control parameters are updated.
The queue's service routine is scheduled
if it has not been disabled by a previous call to
or if the message being enqueued has greater than normal priority
(that is, it is not in band zero).
Pointer to the queue.
Pointer to the message.
putq returns 1 on success and 0 on failure.
putq can fail if there is not enough memory
to allocate the accounting data structures
used with messages whose priority bands are greater than zero.
Base or Interrupt.
Does not block.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
The caller cannot have the stream frozen
when calling this function.
1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
1, 2, 2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp
for an example of putq.
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005