Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > cf93d8a8acdcc6fe2225039da0502495 > files > 2190

kernel-doc-2.6.32-131.17.1.el6.centos.plus.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>Chapter&#160;10.&#160;Routines and Conventions</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Unreliable Guide To Hacking The Linux Kernel" /><link rel="up" href="index.html" title="Unreliable Guide To Hacking The Linux Kernel" /><link rel="prev" href="ch09s02.html" title="EXPORT_SYMBOL_GPL() include/linux/module.h" /><link rel="next" href="ch10s02.html" title="Return Conventions" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&#160;10.&#160;Routines and Conventions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch09s02.html">Prev</a>&#160;</td><th width="60%" align="center">&#160;</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch10s02.html">Next</a></td></tr></table><hr /></div><div class="chapter" title="Chapter&#160;10.&#160;Routines and Conventions"><div class="titlepage"><div><div><h2 class="title"><a id="conventions"></a>Chapter&#160;10.&#160;Routines and Conventions</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch10.html#conventions-doublelinkedlist">Double-linked lists
    <code class="filename">include/linux/list.h</code></a></span></dt><dt><span class="sect1"><a href="ch10s02.html">Return Conventions</a></span></dt><dt><span class="sect1"><a href="ch10s03.html">Breaking Compilation</a></span></dt><dt><span class="sect1"><a href="ch10s04.html">Initializing structure members</a></span></dt><dt><span class="sect1"><a href="ch10s05.html">GNU Extensions</a></span></dt><dt><span class="sect1"><a href="ch10s06.html">C++</a></span></dt><dt><span class="sect1"><a href="ch10s07.html">#if</a></span></dt></dl></div><div class="sect1" title="Double-linked lists include/linux/list.h"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="conventions-doublelinkedlist"></a>Double-linked lists
    <code class="filename">include/linux/list.h</code></h2></div></div></div><p>
    There used to be three sets of linked-list routines in the kernel
    headers, but this one is the winner.  If you don't have some
    particular pressing need for a single list, it's a good choice.
   </p><p>
    In particular, <code class="function">list_for_each_entry</code> is useful.
   </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch09s02.html">Prev</a>&#160;</td><td width="20%" align="center">&#160;</td><td width="40%" align="right">&#160;<a accesskey="n" href="ch10s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><code class="function">EXPORT_SYMBOL_GPL()</code>
    <code class="filename">include/linux/module.h</code>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Return Conventions</td></tr></table></div></body></html>