linkb man page on IRIX

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



linkb(D3)							     linkb(D3)

NAME
     linkb - concatenate two message blocks

SYNOPSIS
     #include <sys/stream.h>
     #include <sys/ddi.h>
     void linkb(mblk_t *mp1, mblk_t *mp2);

   Arguments
     mp1       Pointer to the message to which mp2 is to be added.

     mp2       Pointer to the message to be added.

DESCRIPTION
     linkb appends the message mp2 to the tail of message mp1.	The
     continuation pointer (b_cont) of the last message block in the first
     message is set to point to the second message:
     _________________________________________
	     linkb(mp1, mp2);
	 Before
				After
			    ___

			mp1
		      |
		      ______
			    |
		      ______
		      b_cont
				    ___

			      b_cont
			      |
			      ______
				    |
			      ______
					(0)
				      |
				      ______
					    |
				      ______
				      b_cont
					mp2
	mp1
	      b_cont
	       (0)
	      |
	      ______
		    |
	      ______
	   ___

      |
      ______
	    |
      ______
      b_cont
	 b_cont
	   mp2
	   (0)
	 |
	 ______
	       |
	 ______
		     |

   Return Values
     None.

USAGE
   Level
     Base or Interrupt.

   Synchronization Constraints
     Does not sleep.

     Driver-defined basic locks, read/write locks, and sleep locks may be held
     across calls to this function.

REFERENCES
     msgb(D4), unlinkb(D3)

									Page 1

[top]

List of man pages available for IRIX

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