insq man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

insq(9r)							      insq(9r)

NAME
       insq - STREAMS: Inserts a STREAMS message into a queue

SYNOPSIS
       #include <sys/stream.h>

       int insq(
	       queue_t *message_queue,
	       MBLKP message,
	       MBLKP message_to_be_inserted );

ARGUMENTS
       Specifies  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 alter‐
       nate  name  for	typedef	 struct	 msgb  *.  Specifies the message to be
       inserted. The typedef MBLKP is an alternate  name  for  typedef	struct
       msgb *.

DESCRIPTION
       The  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 asso‐
       ciated 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.

CAUTIONS
       If the message argument is non-NULL, it must point to a message on  the
       queue or a system panic could occur.

RETURN VALUES
       Upon  successful	 completion,  insq returns the value 1. On failure, it
       returns the value zero (0).

SEE ALSO
       Programmer's Guide: STREAMS

								      insq(9r)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net