Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

putq(9r) [osf1 man page]

putq(9r)																  putq(9r)

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)

Check Out this Related Man Page

putq(9F)						   Kernel Functions for Drivers 						  putq(9F)

putq - put a message on a queue SYNOPSIS
#include <sys/stream.h> int putq(queue_t *q, mblk_t *bp); INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI). PARAMETERS
q Pointer to the queue to which the message is to be added. bp Message to be put on the queue. DESCRIPTION
putq() is used to put messages on a driver's queue after the module's put routine has finished processing the message. The message is placed after any other messages of the same priority, and flow control parameters are updated. If QNOENB is not set, the service routine is enabled. If no other processing is done, putq() can be used as the module's put routine. RETURN VALUES
putq() returns 1 on success and 0 on failure. Note - Upon failure, the caller should call freemsg(9F) to free the pointer to the message block. CONTEXT
putq() can be called from user or interrupt context. EXAMPLES
See the datamsg(9F) function page for an example of putq(). SEE ALSO
datamsg(9F), putbq(9F), qenable(9F), rmvq(9F) Writing Device Drivers STREAMS Programming Guide SunOS 5.10 28 Aug 2001 putq(9F)
Man Page

5 More Discussions You Might Find Interesting

1. HP-UX

Spooler Problem

Greetings, I have encountered the following errors and printing stops frequently. " ERROR 45 FROM LOCKF CALL ON FILE OUTPUTQ". I restart the spooler repeatedly but that is not a permanent solution. Please give me your usual assistance. With regards, Wobitu (2 Replies)
Discussion started by: wobitu
2 Replies

2. IP Networking

Tcp ip port open but no such process (merged: Release A Port)

i want to kill a tcp connection by killing its pid with netstat -an i got the tcp ip connection on port 5914 but when i type ps -a or ps-e there is not such process running on port 5914 is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies

3. Shell Programming and Scripting

Insert a newline in XML

Hi guys, I got a requirement that ... (5 Replies)
Discussion started by: mohanalakshmi
5 Replies

4. Solaris

Showing strange size in df output

Hi, This is Solaris-10 box and in few of file-system (root file-system of non global zones), usage/available is not showing correct size. I am not able to figure out, what is eating up this space. Global Server - bdrpod01 Non Global zone - bdrpod01-zputq01 root@bdrpod01:/root# df -h... (2 Replies)
Discussion started by: solaris_1977
2 Replies

5. UNIX for Beginners Questions & Answers

Parsing a column of text file - best practices

HI Folks - I hope all is well! I have a business process where I manage a text file of substitution variables and their values for a target system. After updating, I run a script to push the changes to the target system. However, I'm trying to develop a method to be able to automatically... (50 Replies)
Discussion started by: SIMMS7400
50 Replies