remque man page on CentOS

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

INSQUE(3)		   Linux Programmer's Manual		     INSQUE(3)

NAME
       insque, remque - insert/remove an item from a queue

SYNOPSIS
       #include <search.h>

       void insque(void *elem, void *prev);
       void remque(void *elem);

DESCRIPTION
       insque()	 and  remque()	are  functions	for manipulating doubly-linked
       lists.  Each element in the list is a structure of which the first  two
       structure elements are a forward and a backward pointer.

       insque()	 inserts  the element pointed to by elem immediately after the
       element pointed to by prev, which must not be NULL.

       remque() removes the element pointed to by elem from the	 doubly-linked
       list.

CONFORMING TO
       POSIX.1-2001

HISTORICAL NOTES
       Traditionally  (e.g.  SunOS,  Linux  libc  4,5) the parameters of these
       functions were of type struct qelem *, where the struct is defined as

	      struct qelem {
		  struct    qelem *q_forw;
		  struct    qelem *q_back;
		  char	    q_data[1];
	      };

       This is still what you  will  get  if  _GNU_SOURCE  is  defined	before
       including <search.h>.

       The  location  of the prototypes for these functions differs among sev‐
       eral versions of UNIX.  The above is the POSIX version.	 Some  systems
       place them in <string.h>.  Linux libc4,5 placed them in <stdlib.h>.

				  2003-08-11			     INSQUE(3)
[top]

List of man pages available for CentOS

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