Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/libiberty/insque.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    33
    44/*
    5 NAME
    6         insque, remque -- insert, remove an element from a queue
    75
    8 SYNOPSIS
    9         struct qelem {
    10           struct qelem *q_forw;
    11           struct qelem *q_back;
    12           char q_data[];
    13         };
     6@deftypefn Supplemental void insque (struct qelem *@var{elem}, struct qelem *@var{pred})
     7@deftypefnx Supplemental void remque (struct qelem *@var{elem})
    148
    15         void insque (struct qelem *elem, struct qelem *pred)
     9Routines to manipulate queues built from doubly linked lists.  The
     10@code{insque} routine inserts @var{elem} in the queue immediately
     11after @var{pred}.  The @code{remque} routine removes @var{elem} from
     12its containing queue.  These routines expect to be passed pointers to
     13structures which have as their first members a forward pointer and a
     14back pointer, like this prototype (although no prototype is provided):
    1615
    17         void remque (struct qelem *elem)
     16@example
     17struct qelem @{
     18  struct qelem *q_forw;
     19  struct qelem *q_back;
     20  char q_data[];
     21@};
     22@end example
    1823
    19 DESCRIPTION
    20         Routines to manipulate queues built from doubly linked lists.
    21         The insque routine inserts ELEM in the queue immediately after
    22         PRED.  The remque routine removes ELEM from its containing queue.
     24@end deftypefn
     25
    2326*/
    2427
Note: See TracChangeset for help on using the changeset viewer.