Hosted by the courtesy of  
 GitHub 
The stars ASAP english francais spanish arab
Durée du voyage intersidéral francais
Résolutions de l'ONU en HTML francais
Bussard Ramjet english francais
DWARF : dwarf2xml english
ELF : libelf examples english
Code presentation : ctoohtml english

Quick usage

  • structure
  •       struct s_my_node {
             ...
             s_ring link;
             ...
          };
  • Add node
  •        ring_holding_ptr = m_ring_link(ring_holding_ptr, link, new_node);
    
  • Remove node
  •        ring_holding_ptr = m_ring_unlink(new_node, link);
    
  • Loop
  •        struct s_my_node *node;
    
    

    for (node = ring; node; node = m_ring_list(ring_holding_ptr, node, link) ) { ... }

    or

    m_ring_do(ring_holding_ptr, node) { if ( node->my_member > 3 ) node->my_other_member = 0; } m_ring_done(ring_holding_ptr, node, link);

    Alphabetic index



    This page was generated with the help of DOC++.
    from : machinman.net, updated on Wed May 18 11:46:24 CEST 2022

    Hosted by the courtesy of  
     GitHub 
    The stars ASAP english francais spanish
    Durée du voyage intersidéral francais
    Résolutions de l'ONU en HTML francais
    Bussard Ramjet english francais
    DWARF : dwarf2xml english
    ELF : libelf examples english
    Code presentation : ctoohtml english