<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>UbixOS V2: src/sys/lib/bcopy.c File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <div class="nav"> <a class="el" href="dir_897b6a2d7bab147dd1db58381aad3984.html">src</a> » <a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a> » <a class="el" href="dir_d9dcf62a8e8b4cc91cbf2445d76a799b.html">lib</a></div> <h1>bcopy.c File Reference</h1><code>#include <<a class="el" href="types_8h-source.html">ubixos/types.h</a>></code><br> <code>#include <strings.h></code><br> <code>#include <<a class="el" href="string_8h-source.html">string.h</a>></code><br> <p> Include dependency graph for bcopy.c:<p><center><img src="bcopy_8c__incl.png" border="0" usemap="#src/sys/lib/bcopy.c_map" alt=""></center> <map name="src/sys/lib/bcopy.c_map"> <area href="types_8h.html" shape="rect" coords="330,56,450,83" alt=""> <area href="string_8h.html" shape="rect" coords="203,107,275,134" alt=""> <area href="__types_8h.html" shape="rect" coords="500,56,604,83" alt=""> </map> <p> This graph shows which files directly or indirectly include this file:<p><center><img src="bcopy_8c__dep__incl.png" border="0" usemap="#src/sys/lib/bcopy.cdep_map" alt=""></center> <map name="src/sys/lib/bcopy.cdep_map"> <area href="memcpy_8c.html" shape="rect" coords="199,5,359,32" alt=""> </map> <p> <a href="bcopy_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="bcopy_8c.html#74d8274a661a711f2c9e05a7f19eaf0f">TLOOP</a>(s) if (t) TLOOP1(s)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="bcopy_8c.html#4d81791363bd2fd7e37c9a533be06f59">TLOOP1</a>(s) do { s; } while (--t)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="bcopy_8c.html#b5deaef115ff5ca6ef1457d923d8331a">wmask</a> (wsize - 1)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="bcopy_8c.html#01c6b59ca21f041b23efbb9845cc4e32">wsize</a> sizeof(<a class="el" href="bcopy_8c.html#afc9a69535613ac225df2d6195518116">word</a>)</td></tr> <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="types_8h.html#ba29fd78d95cce0ecb249c24b58d07da">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="bcopy_8c.html#e8e8d04e2eddef3a5f57fe2f28c655fa">uintptr_t</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="bcopy_8c.html#afc9a69535613ac225df2d6195518116">word</a></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="bcopy_8c.html#7d2165a6aaf8577fe615ccf03eba693d">bcopy</a> (const void *src0, void *dst0, <a class="el" href="types_8h.html#7619b847aeded8a6d14cbfa212b2cdfb">size_t</a> length)</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="74d8274a661a711f2c9e05a7f19eaf0f"></a><!-- doxytag: member="bcopy.c::TLOOP" ref="74d8274a661a711f2c9e05a7f19eaf0f" args="(s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define TLOOP </td> <td>(</td> <td class="paramtype">s </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> if (t) TLOOP1(s)</td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="bcopy_8c-source.html#l00070">bcopy()</a>. </div> </div><p> <a class="anchor" name="4d81791363bd2fd7e37c9a533be06f59"></a><!-- doxytag: member="bcopy.c::TLOOP1" ref="4d81791363bd2fd7e37c9a533be06f59" args="(s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define TLOOP1 </td> <td>(</td> <td class="paramtype">s </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> do { s; } while (--t)</td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="bcopy_8c-source.html#l00070">bcopy()</a>. </div> </div><p> <a class="anchor" name="b5deaef115ff5ca6ef1457d923d8331a"></a><!-- doxytag: member="bcopy.c::wmask" ref="b5deaef115ff5ca6ef1457d923d8331a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define wmask (wsize - 1) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="bcopy_8c-source.html#l00049">49</a> of file <a class="el" href="bcopy_8c-source.html">bcopy.c</a>. <p> Referenced by <a class="el" href="bcopy_8c-source.html#l00070">bcopy()</a>, and <a class="el" href="memset_8c-source.html#l00037">memset()</a>. </div> </div><p> <a class="anchor" name="01c6b59ca21f041b23efbb9845cc4e32"></a><!-- doxytag: member="bcopy.c::wsize" ref="01c6b59ca21f041b23efbb9845cc4e32" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define wsize sizeof(<a class="el" href="bcopy_8c.html#afc9a69535613ac225df2d6195518116">word</a>) </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="bcopy_8c-source.html#l00048">48</a> of file <a class="el" href="bcopy_8c-source.html">bcopy.c</a>. <p> Referenced by <a class="el" href="bcopy_8c-source.html#l00070">bcopy()</a>, and <a class="el" href="memset_8c-source.html#l00037">memset()</a>. </div> </div><p> <hr><h2>Typedef Documentation</h2> <a class="anchor" name="e8e8d04e2eddef3a5f57fe2f28c655fa"></a><!-- doxytag: member="bcopy.c::uintptr_t" ref="e8e8d04e2eddef3a5f57fe2f28c655fa" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="types_8h.html#ba29fd78d95cce0ecb249c24b58d07da">u_int32_t</a> <a class="el" href="bcopy_8c.html#e8e8d04e2eddef3a5f57fe2f28c655fa">uintptr_t</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="bcopy_8c-source.html#l00046">46</a> of file <a class="el" href="bcopy_8c-source.html">bcopy.c</a>. </div> </div><p> <a class="anchor" name="afc9a69535613ac225df2d6195518116"></a><!-- doxytag: member="bcopy.c::word" ref="afc9a69535613ac225df2d6195518116" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef int <a class="el" href="bcopy_8c.html#afc9a69535613ac225df2d6195518116">word</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="bcopy_8c-source.html#l00045">45</a> of file <a class="el" href="bcopy_8c-source.html">bcopy.c</a>. </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="7d2165a6aaf8577fe615ccf03eba693d"></a><!-- doxytag: member="bcopy.c::bcopy" ref="7d2165a6aaf8577fe615ccf03eba693d" args="(const void *src0, void *dst0, size_t length)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void bcopy </td> <td>(</td> <td class="paramtype">const void * </td> <td class="paramname"> <em>src0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"> <em>dst0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="types_8h.html#7619b847aeded8a6d14cbfa212b2cdfb">size_t</a> </td> <td class="paramname"> <em>length</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="bcopy_8c-source.html#l00070">70</a> of file <a class="el" href="bcopy_8c-source.html">bcopy.c</a>. <p> References <a class="el" href="fdc_8c-source.html#l00046">done</a>, <a class="el" href="bcopy_8c.html#74d8274a661a711f2c9e05a7f19eaf0f">TLOOP</a>, <a class="el" href="bcopy_8c.html#4d81791363bd2fd7e37c9a533be06f59">TLOOP1</a>, <a class="el" href="bcopy_8c-source.html#l00049">wmask</a>, and <a class="el" href="bcopy_8c-source.html#l00048">wsize</a>. </div> </div><p> <hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:24:35 2006 for UbixOS V2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>