home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / compat / search / insque.txh < prev    next >
Encoding:
Text File  |  1995-07-23  |  565 b   |  30 lines

  1. @node insque, misc
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <search.h>
  6.  
  7. void insque(struct qelem *elem, struct qelem *pred);
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. This function manipulates queues built from doubly linked lists.  Each element
  13. in the queue must be in the form of @code{struct qelem} which is defined
  14. thus:
  15.  
  16. @example
  17. struct qelem @{
  18.   struct qelem *q_forw;
  19.   struct qelem *q_back;
  20.   char q_data[0];
  21. @}
  22. @end example
  23.  
  24. This function inserts @var{elem} in a queue immediately after @var{pred}.
  25.  
  26.  
  27. @subheading Return Value
  28.  
  29. None.
  30.