DocBook XSLT 2.0 Stylesheet output: funcsynopsis.001.xml

Expected (5 differences)Actual (1 differences)
<html>
   <head>
      <link href="../../resources/css/db-prism.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/default.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/prism.css" rel="stylesheet" type="text/css"/>
      <meta charset="utf-8"/>
      <meta content="DocBook XSL 2.0 Stylesheets Vxxx" name="generator"/>
      <script src="../../resources/js/dbmodnizr.js" type="text/javascript"/>
      <title>Article wrapper</title>
   </head>
   <body>
      <article class="article" id="R.1">
         <header class="article-titlepage">
            <h2>Article wrapper</h2>
         </header>
         <div class="lists-of-titles">
            <div class="toc">
               <p>
                  <b>Table of Contents</b>
               </p>
               <ul class="toc">
                  <li>
                     <span>
                        <a href="#R.1.2">1. "Default" rendering</a>
                     </span>
                  </li>
                  <li>
                     <span>
                        <a href="#R.1.3">2. ANSI Rendering</a>
                     </span>
                  </li>
                  <li>
                     <span>
                        <a href="#R.1.4">3. K&R Rendering</a>
                     </span>
                  </li>
               </ul>
            </div>
         </div>
         <section class="section" id="R.1.2">
            <div class="section-titlepage">
               <h2>1. "Default" rendering</h2>
            </div>
            <p>A funcsynopsis.</p>
            <div class="funcsynopsis">
               <pre class="funcsynopsisinfo">
#include <varargs.h>
</pre>
               <p>
                  <code class="funcdef">float <b class="fsfunc">rand</b>(</code>
                  <code>)</code>;</p>
               <p>
                  <code class="funcdef">int <b class="fsfunc">max</b>(</code>...<code>)</code>;</p>
               <p>
                  <code class="funcdef">int <b class="fsfunc">idiv</b>(</code>
                  <var class="pdparam">n</var>, <var class="pdparam">m</var>
                  <code>)</code>;<br/>int <var class="pdparam">n</var>;<br/>int <var class="pdparam">m</var>;</p>
            </div>
            <p>Another.</p>
            <div class="funcsynopsis">
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" style="padding-bottom: 1em" summary="Function synopsis">
                  <tr>
                     <td>
                        <code class="funcdef">void <b class="fsfunc">qsort</b>(</code>
                     </td>
                     <td>
                        <var class="pdparam">dataptr</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">left</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">right</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">comp</var>
                        <code>)</code>;</td>
                     <td> </td>
                  </tr>
               </table>
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function argument synopsis">
                  <tr>
                     <td>void * </td>
                     <td>
                        <var class="pdparam">dataptr</var>[];</td>
                  </tr>
                  <tr>
                     <td>int  </td>
                     <td>
                        <var class="pdparam">left</var>;</td>
                  </tr>
                  <tr>
                     <td>int  </td>
                     <td>
                        <var class="pdparam">right</var>;</td>
                  </tr>
                  <tr>
                     <td colspan="2">int (*<var class="pdparam">comp</var>)
      <code>(</code>void *, void *<code>)</code>;</td>
                  </tr>
               </table>
            </div>
            <p>Another.</p>
            <div class="funcsynopsis">
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" style="padding-bottom: 1em" summary="Function synopsis">
                  <tr>
                     <td>
                        <code class="funcdef">int <b class="fsfunc">foo_frob_something</b>(</code>
                     </td>
                     <td>
                        <var class="pdparam">foo_frob_parm1</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">foo_frob_parm2</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">foo_frob_parm3</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">parm4</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">foo_frob_parm5</var>
                        <code>)</code>;</td>
                     <td> </td>
                  </tr>
               </table>
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function argument synopsis">
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm1</var>;</td>
                  </tr>
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm2</var>;</td>
                  </tr>
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm3</var>;</td>
                  </tr>
                  <tr>
                     <td>int </td>
                     <td> (* <var class="pdparam">parm4</var> )
      <code>(</code>int a, int b, int c<code>)</code>;
    </td>
                  </tr>
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm5</var>;</td>
                  </tr>
               </table>
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" style="padding-bottom: 1em" summary="Function synopsis">
                  <tr>
                     <td>
                        <code class="funcdef">int <b class="fsfunc">foo_frob_something</b>(</code>
                     </td>
                     <td>
                        <var class="pdparam">foo_frob_parm1</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">foo_frob_parm2</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">foo_frob_parm3</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">parm4</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">foo_frob_parm5</var>
                        <code>)</code>;</td>
                     <td> </td>
                  </tr>
               </table>
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function argument synopsis">
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm1</var>;</td>
                  </tr>
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm2</var>;</td>
                  </tr>
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm3</var>;</td>
                  </tr>
                  <tr>
                     <td>int </td>
                     <td> (* <var class="pdparam">parm4</var> )
      <code>(</code>int a, int b, int c<code>)</code>;
    </td>
                  </tr>
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm5</var>;</td>
                  </tr>
               </table>
            </div>
         </section>
         <section class="section" id="R.1.3">
            <div class="section-titlepage">
               <h2>2. ANSI Rendering</h2>
            </div>
            <p>Another.</p>
            <div class="funcsynopsis">
               <pre class="funcsynopsisinfo">
#include <varargs.h>
</pre>
               <p>
                  <code class="funcdef">float <b class="fsfunc">rand</b>(</code>
                  <code>void)</code>;</p>
               <p>
                  <code class="funcdef">int <b class="fsfunc">max</b>(</code>...<code>)</code>;</p>
               <p>
                  <code class="funcdef">int <b class="fsfunc">idiv</b>(</code>int <var class="pdparam">n</var>, int <var class="pdparam">m</var>
                  <code>)</code>;</p>
            </div>
            <p>Another.</p>
            <div class="funcsynopsis">
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function synopsis">
                  <tr>
                     <td>
                        <code class="funcdef">void <b class="fsfunc">qsort</b>(</code>
                     </td>
                     <td>void * </td>
                     <td>
                        <var class="pdparam">dataptr</var>[], </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>int  </td>
                     <td>
                        <var class="pdparam">left</var>, </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>int  </td>
                     <td>
                        <var class="pdparam">right</var>, </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>int </td>
                     <td> (*<var class="pdparam">comp</var>)
      <code>(</code>void *, void *<code>)</code>;</td>
                  </tr>
               </table>
            </div>
            <p>Another.</p>
            <div class="funcsynopsis">
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function synopsis">
                  <tr>
                     <td>
                        <code class="funcdef">int <b class="fsfunc">foo_frob_something</b>(</code>
                     </td>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm1</var>, </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm2</var>, </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm3</var>, </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>int (*  </td>
                     <td>
                        <var class="pdparam">parm4</var> )
      <code>(</code>int a, int b, int c<code>)</code>, </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm5</var>
                        <code>)</code>;</td>
                  </tr>
               </table>
            </div>
         </section>
         <section class="section" id="R.1.4">
            <div class="section-titlepage">
               <h2>3. K&R Rendering</h2>
            </div>
            <p>Another.</p>
            <div class="funcsynopsis">
               <pre class="funcsynopsisinfo">
#include <varargs.h>
</pre>
               <p>
                  <code class="funcdef">float <b class="fsfunc">rand</b>(</code>
                  <code>)</code>;</p>
               <p>
                  <code class="funcdef">int <b class="fsfunc">max</b>(</code>...<code>)</code>;</p>
               <p>
                  <code class="funcdef">int <b class="fsfunc">idiv</b>(</code>
                  <var class="pdparam">n</var>, <var class="pdparam">m</var>
                  <code>)</code>;<br/>int <var class="pdparam">n</var>;<br/>int <var class="pdparam">m</var>;</p>
            </div>
            <p>Another.</p>
            <div class="funcsynopsis">
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" style="padding-bottom: 1em" summary="Function synopsis">
                  <tr>
                     <td>
                        <code class="funcdef">void <b class="fsfunc">qsort</b>(</code>
                     </td>
                     <td>
                        <var class="pdparam">dataptr</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">left</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">right</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">comp</var>
                        <code>)</code>;</td>
                     <td> </td>
                  </tr>
               </table>
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function argument synopsis">
                  <tr>
                     <td>void * </td>
                     <td>
                        <var class="pdparam">dataptr</var>[];</td>
                  </tr>
                  <tr>
                     <td>int  </td>
                     <td>
                        <var class="pdparam">left</var>;</td>
                  </tr>
                  <tr>
                     <td>int  </td>
                     <td>
                        <var class="pdparam">right</var>;</td>
                  </tr>
                  <tr>
                     <td>int </td>
                     <td> (*<var class="pdparam">comp</var>)
      <code>(</code>void *, void *<code>)</code>;</td>
                  </tr>
               </table>
            </div>
            <p>Another.</p>
            <div class="funcsynopsis">
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" style="padding-bottom: 1em" summary="Function synopsis">
                  <tr>
                     <td>
                        <code class="funcdef">int <b class="fsfunc">foo_frob_something</b>(</code>
                     </td>
                     <td>
                        <var class="pdparam">foo_frob_parm1</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">foo_frob_parm2</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">foo_frob_parm3</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">parm4</var>, </td>
                     <td> </td>
                  </tr>
                  <tr>
                     <td> </td>
                     <td>
                        <var class="pdparam">foo_frob_parm5</var>
                        <code>)</code>;</td>
                     <td> </td>
                  </tr>
               </table>
               <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function argument synopsis">
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm1</var>;</td>
                  </tr>
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm2</var>;</td>
                  </tr>
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm3</var>;</td>
                  </tr>
                  <tr>
                     <td colspan="2">int (* <var class="pdparam">parm4</var> )
      <code>(</code>int a, int b, int c<code>)</code>;</td>
                  </tr>
                  <tr>
                     <td>foo_sometype1  </td>
                     <td>
                        <var class="pdparam">foo_frob_parm5</var>;</td>
                  </tr>
               </table>
            </div>
         </section>
      </article>
      <script src="../../resources/js/prism.js"/>
   </body>
</html>
<html>
   <head>
      <link href="../../resources/css/db-prism.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/default.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/prism.css" rel="stylesheet" type="text/css"/>
      <meta charset="utf-8"/>
      <meta content="DocBook XSL 2.0 Stylesheets Vxxx" name="generator"/>
      <script src="../../resources/js/dbmodnizr.js" type="text/javascript"/>
      <title>Article wrapper</title>
   </head>
   <body>
      <article class="article" id="R.1">
         <header class="article-titlepage">
            <h2>Article wrapper</h2>
         </header>
         <div class="lists-of-titles">
            <div class="toc">
               <p>
                  <b>Table of Contents</b>
               </p>
               <ul class="toc">
                  <li>
                     <span>
                        <a href="#R.1.2">1. "Default" rendering</a>
                     </span>
                  </li>
                  <li>
                     <span>
                        <a href="#R.1.3">2. ANSI Rendering</a>
                     </span>
                  </li>
                  <li>
                     <span>
                        <a href="#R.1.4">3. K&R Rendering</a>
                     </span>
                  </li>
               </ul>
            </div>
         </div>
         <div class="content">
            <section class="section" id="R.1.2">
               <div class="section-titlepage">
                  <h2>1. "Default" rendering</h2>
               </div>
               <div class="content">
                  <p>A funcsynopsis.</p>
                  <div class="funcsynopsis">
                     <pre class="funcsynopsisinfo">
#include <varargs.h>
</pre>
                     <p>
                        <code class="funcdef">float <b class="fsfunc">rand</b>(</code>
                        <code>)</code>;</p>
                     <p>
                        <code class="funcdef">int <b class="fsfunc">max</b>(</code>...<code>)</code>;</p>
                     <p>
                        <code class="funcdef">int <b class="fsfunc">idiv</b>(</code>
                        <var class="pdparam">n</var>, <var class="pdparam">m</var>
                        <code>)</code>;<br/>int <var class="pdparam">n</var>;<br/>int <var class="pdparam">m</var>;</p>
                  </div>
                  <p>Another.</p>
                  <div class="funcsynopsis">
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" style="padding-bottom: 1em" summary="Function synopsis">
                        <tr>
                           <td>
                              <code class="funcdef">void <b class="fsfunc">qsort</b>(</code>
                           </td>
                           <td>
                              <var class="pdparam">dataptr</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">left</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">right</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">comp</var>
                              <code>)</code>;</td>
                           <td> </td>
                        </tr>
                     </table>
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function argument synopsis">
                        <tr>
                           <td>void * </td>
                           <td>
                              <var class="pdparam">dataptr</var>[];</td>
                        </tr>
                        <tr>
                           <td>int  </td>
                           <td>
                              <var class="pdparam">left</var>;</td>
                        </tr>
                        <tr>
                           <td>int  </td>
                           <td>
                              <var class="pdparam">right</var>;</td>
                        </tr>
                        <tr>
                           <td colspan="2">int (*<var class="pdparam">comp</var>)
      <code>(</code>void *, void *<code>)</code>;</td>
                        </tr>
                     </table>
                  </div>
                  <p>Another.</p>
                  <div class="funcsynopsis">
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" style="padding-bottom: 1em" summary="Function synopsis">
                        <tr>
                           <td>
                              <code class="funcdef">int <b class="fsfunc">foo_frob_something</b>(</code>
                           </td>
                           <td>
                              <var class="pdparam">foo_frob_parm1</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">foo_frob_parm2</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">foo_frob_parm3</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">parm4</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">foo_frob_parm5</var>
                              <code>)</code>;</td>
                           <td> </td>
                        </tr>
                     </table>
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function argument synopsis">
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm1</var>;</td>
                        </tr>
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm2</var>;</td>
                        </tr>
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm3</var>;</td>
                        </tr>
                        <tr>
                           <td>int </td>
                           <td> (* <var class="pdparam">parm4</var> )
      <code>(</code>int a, int b, int c<code>)</code>;
    </td>
                        </tr>
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm5</var>;</td>
                        </tr>
                     </table>
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" style="padding-bottom: 1em" summary="Function synopsis">
                        <tr>
                           <td>
                              <code class="funcdef">int <b class="fsfunc">foo_frob_something</b>(</code>
                           </td>
                           <td>
                              <var class="pdparam">foo_frob_parm1</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">foo_frob_parm2</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">foo_frob_parm3</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">parm4</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">foo_frob_parm5</var>
                              <code>)</code>;</td>
                           <td> </td>
                        </tr>
                     </table>
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function argument synopsis">
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm1</var>;</td>
                        </tr>
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm2</var>;</td>
                        </tr>
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm3</var>;</td>
                        </tr>
                        <tr>
                           <td>int </td>
                           <td> (* <var class="pdparam">parm4</var> )
      <code>(</code>int a, int b, int c<code>)</code>;
    </td>
                        </tr>
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm5</var>;</td>
                        </tr>
                     </table>
                  </div>
               </div>
            </section>
            <section class="section" id="R.1.3">
               <div class="section-titlepage">
                  <h2>2. ANSI Rendering</h2>
               </div>
               <div class="content">
                  <p>Another.</p>
                  <div class="funcsynopsis">
                     <pre class="funcsynopsisinfo">
#include <varargs.h>
</pre>
                     <p>
                        <code class="funcdef">float <b class="fsfunc">rand</b>(</code>
                        <code>void)</code>;</p>
                     <p>
                        <code class="funcdef">int <b class="fsfunc">max</b>(</code>...<code>)</code>;</p>
                     <p>
                        <code class="funcdef">int <b class="fsfunc">idiv</b>(</code>int <var class="pdparam">n</var>, int <var class="pdparam">m</var>
                        <code>)</code>;</p>
                  </div>
                  <p>Another.</p>
                  <div class="funcsynopsis">
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function synopsis">
                        <tr>
                           <td>
                              <code class="funcdef">void <b class="fsfunc">qsort</b>(</code>
                           </td>
                           <td>void * </td>
                           <td>
                              <var class="pdparam">dataptr</var>[], </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>int  </td>
                           <td>
                              <var class="pdparam">left</var>, </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>int  </td>
                           <td>
                              <var class="pdparam">right</var>, </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>int </td>
                           <td> (*<var class="pdparam">comp</var>)
      <code>(</code>void *, void *<code>)</code>;</td>
                        </tr>
                     </table>
                  </div>
                  <p>Another.</p>
                  <div class="funcsynopsis">
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function synopsis">
                        <tr>
                           <td>
                              <code class="funcdef">int <b class="fsfunc">foo_frob_something</b>(</code>
                           </td>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm1</var>, </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm2</var>, </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm3</var>, </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>int (*  </td>
                           <td>
                              <var class="pdparam">parm4</var> )
      <code>(</code>int a, int b, int c<code>)</code>, </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm5</var>
                              <code>)</code>;</td>
                        </tr>
                     </table>
                  </div>
               </div>
            </section>
            <section class="section" id="R.1.4">
               <div class="section-titlepage">
                  <h2>3. K&R Rendering</h2>
               </div>
               <div class="content">
                  <p>Another.</p>
                  <div class="funcsynopsis">
                     <pre class="funcsynopsisinfo">
#include <varargs.h>
</pre>
                     <p>
                        <code class="funcdef">float <b class="fsfunc">rand</b>(</code>
                        <code>)</code>;</p>
                     <p>
                        <code class="funcdef">int <b class="fsfunc">max</b>(</code>...<code>)</code>;</p>
                     <p>
                        <code class="funcdef">int <b class="fsfunc">idiv</b>(</code>
                        <var class="pdparam">n</var>, <var class="pdparam">m</var>
                        <code>)</code>;<br/>int <var class="pdparam">n</var>;<br/>int <var class="pdparam">m</var>;</p>
                  </div>
                  <p>Another.</p>
                  <div class="funcsynopsis">
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" style="padding-bottom: 1em" summary="Function synopsis">
                        <tr>
                           <td>
                              <code class="funcdef">void <b class="fsfunc">qsort</b>(</code>
                           </td>
                           <td>
                              <var class="pdparam">dataptr</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">left</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">right</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">comp</var>
                              <code>)</code>;</td>
                           <td> </td>
                        </tr>
                     </table>
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function argument synopsis">
                        <tr>
                           <td>void * </td>
                           <td>
                              <var class="pdparam">dataptr</var>[];</td>
                        </tr>
                        <tr>
                           <td>int  </td>
                           <td>
                              <var class="pdparam">left</var>;</td>
                        </tr>
                        <tr>
                           <td>int  </td>
                           <td>
                              <var class="pdparam">right</var>;</td>
                        </tr>
                        <tr>
                           <td>int </td>
                           <td> (*<var class="pdparam">comp</var>)
      <code>(</code>void *, void *<code>)</code>;</td>
                        </tr>
                     </table>
                  </div>
                  <p>Another.</p>
                  <div class="funcsynopsis">
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" style="padding-bottom: 1em" summary="Function synopsis">
                        <tr>
                           <td>
                              <code class="funcdef">int <b class="fsfunc">foo_frob_something</b>(</code>
                           </td>
                           <td>
                              <var class="pdparam">foo_frob_parm1</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">foo_frob_parm2</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">foo_frob_parm3</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">parm4</var>, </td>
                           <td> </td>
                        </tr>
                        <tr>
                           <td> </td>
                           <td>
                              <var class="pdparam">foo_frob_parm5</var>
                              <code>)</code>;</td>
                           <td> </td>
                        </tr>
                     </table>
                     <table border="0" cellpadding="0" cellspacing="0" class="funcprototype" summary="Function argument synopsis">
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm1</var>;</td>
                        </tr>
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm2</var>;</td>
                        </tr>
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm3</var>;</td>
                        </tr>
                        <tr>
                           <td colspan="2">int (* <var class="pdparam">parm4</var> )
      <code>(</code>int a, int b, int c<code>)</code>;</td>
                        </tr>
                        <tr>
                           <td>foo_sometype1  </td>
                           <td>
                              <var class="pdparam">foo_frob_parm5</var>;</td>
                        </tr>
                     </table>
                  </div>
               </div>
            </section>
         </div>
      </article>
      <script src="../../resources/js/prism.js"/>
   </body>
</html>
The “current” CSS styling is applied to the this entire document; the results in this column may be anomalous. Also, image links are broken in this column. 

Article wrapper

1. "Default" rendering

A funcsynopsis.

#include <varargs.h>

float rand();

int max(...);

int idiv(n, m);
int n;
int m;

Another.

void qsort(dataptr,  
 left,  
 right,  
 comp); 
void * dataptr[];
int  left;
int  right;
int (*comp) (void *, void *);

Another.

int foo_frob_something(foo_frob_parm1,  
 foo_frob_parm2,  
 foo_frob_parm3,  
 parm4,  
 foo_frob_parm5); 
foo_sometype1  foo_frob_parm1;
foo_sometype1  foo_frob_parm2;
foo_sometype1  foo_frob_parm3;
int  (* parm4 ) (int a, int b, int c);
foo_sometype1  foo_frob_parm5;
int foo_frob_something(foo_frob_parm1,  
 foo_frob_parm2,  
 foo_frob_parm3,  
 parm4,  
 foo_frob_parm5); 
foo_sometype1  foo_frob_parm1;
foo_sometype1  foo_frob_parm2;
foo_sometype1  foo_frob_parm3;
int  (* parm4 ) (int a, int b, int c);
foo_sometype1  foo_frob_parm5;

2. ANSI Rendering

Another.

#include <varargs.h>

float rand(void);

int max(...);

int idiv(int n, int m);

Another.

void qsort(void * dataptr[],
 int  left,
 int  right,
 int  (*comp) (void *, void *);

Another.

int foo_frob_something(foo_sometype1  foo_frob_parm1,
 foo_sometype1  foo_frob_parm2,
 foo_sometype1  foo_frob_parm3,
 int (*  parm4 ) (int a, int b, int c),
 foo_sometype1  foo_frob_parm5);

3. K&R Rendering

Another.

#include <varargs.h>

float rand();

int max(...);

int idiv(n, m);
int n;
int m;

Another.

void qsort(dataptr,  
 left,  
 right,  
 comp); 
void * dataptr[];
int  left;
int  right;
int  (*comp) (void *, void *);

Another.

int foo_frob_something(foo_frob_parm1,  
 foo_frob_parm2,  
 foo_frob_parm3,  
 parm4,  
 foo_frob_parm5); 
foo_sometype1  foo_frob_parm1;
foo_sometype1  foo_frob_parm2;
foo_sometype1  foo_frob_parm3;
int (* parm4 ) (int a, int b, int c);
foo_sometype1  foo_frob_parm5;

Article wrapper

1. "Default" rendering

A funcsynopsis.

#include <varargs.h>

float rand();

int max(...);

int idiv(n, m);
int n;
int m;

Another.

void qsort(dataptr,  
 left,  
 right,  
 comp); 
void * dataptr[];
int  left;
int  right;
int (*comp) (void *, void *);

Another.

int foo_frob_something(foo_frob_parm1,  
 foo_frob_parm2,  
 foo_frob_parm3,  
 parm4,  
 foo_frob_parm5); 
foo_sometype1  foo_frob_parm1;
foo_sometype1  foo_frob_parm2;
foo_sometype1  foo_frob_parm3;
int  (* parm4 ) (int a, int b, int c);
foo_sometype1  foo_frob_parm5;
int foo_frob_something(foo_frob_parm1,  
 foo_frob_parm2,  
 foo_frob_parm3,  
 parm4,  
 foo_frob_parm5); 
foo_sometype1  foo_frob_parm1;
foo_sometype1  foo_frob_parm2;
foo_sometype1  foo_frob_parm3;
int  (* parm4 ) (int a, int b, int c);
foo_sometype1  foo_frob_parm5;

2. ANSI Rendering

Another.

#include <varargs.h>

float rand(void);

int max(...);

int idiv(int n, int m);

Another.

void qsort(void * dataptr[],
 int  left,
 int  right,
 int  (*comp) (void *, void *);

Another.

int foo_frob_something(foo_sometype1  foo_frob_parm1,
 foo_sometype1  foo_frob_parm2,
 foo_sometype1  foo_frob_parm3,
 int (*  parm4 ) (int a, int b, int c),
 foo_sometype1  foo_frob_parm5);

3. K&R Rendering

Another.

#include <varargs.h>

float rand();

int max(...);

int idiv(n, m);
int n;
int m;

Another.

void qsort(dataptr,  
 left,  
 right,  
 comp); 
void * dataptr[];
int  left;
int  right;
int  (*comp) (void *, void *);

Another.

int foo_frob_something(foo_frob_parm1,  
 foo_frob_parm2,  
 foo_frob_parm3,  
 parm4,  
 foo_frob_parm5); 
foo_sometype1  foo_frob_parm1;
foo_sometype1  foo_frob_parm2;
foo_sometype1  foo_frob_parm3;
int (* parm4 ) (int a, int b, int c);
foo_sometype1  foo_frob_parm5;

XML source