root/doc_inner/gnu_global/S/983.html

/* [<][>][^][v][top][bottom][index][help] */
<!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>
<title>test/unit/strrev/cmd.c</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.6.5' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/2933.html'>test</a>/<a href='../files/3389.html'>unit</a>/<a href='../files/3403.html'>strrev</a>/cmd.c</h2>
<em class='comment'>/* [&lt;][&gt;]<a href='#L4'>[^]</a>[v][top]<a href='#BOTTOM'>[bottom]</a><a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em>
<hr />
<h2 class='header'>DEFINITIONS</h2>
This source file includes following definitions.
<ol>
<li><a href='#L4' title='Defined at 4.'>main</a></li>
</ol>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='sharp'>#include</em> &lt;stdio.h&gt;
<a id='L2' name='L2'></a>   2 <em class='sharp'>#include</em> "<a href='2424.html'>cmem.h</a>"
<a id='L3' name='L3'></a>   3 
<a id='L4' name='L4'></a>   4 <strong class='reserved'>int</strong> main()
<a id='L5' name='L5'></a>   5 <em class='brace'>{</em>
<a id='L6' name='L6'></a>   6     <strong class='reserved'>char</strong> *<a href='../Y/195.html' title='Multiple used in 11 places.'>src</a>[] = <em class='brace'>{</em>"abcdefghij", "abcde"<em class='brace'>}</em>;
<a id='L7' name='L7'></a>   7     <strong class='reserved'>char</strong> *<a href='../Y/80.html' title='Multiple used in 12 places.'>dst</a> = <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>;
<a id='L8' name='L8'></a>   8 
<a id='L9' name='L9'></a>   9     <strong class='reserved'>for</strong>(<strong class='reserved'>unsigned</strong> <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> = 0; <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a> &lt; <a href='../S/2424.html#L14' title='Defined at 14 in include/cmem.h.'>ARRAYSIZE</a>(<a href='../Y/195.html' title='Multiple used in 11 places.'>src</a>); <a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>++) <em class='brace'>{</em>
<a id='L10' name='L10'></a>  10         <a href='../Y/80.html' title='Multiple used in 12 places.'>dst</a> = <a href='../S/2831.html#L71' title='Defined at 71 in src/cmem.c.'>strrev</a>(<a href='../Y/195.html' title='Multiple used in 11 places.'>src</a>[<a href='../Y/117.html' title='Multiple used in 233 places.'>i</a>]);
<a id='L11' name='L11'></a>  11         <a href='../Y/180.html' title='Multiple used in 3 places.'>puts</a>(<a href='../Y/80.html' title='Multiple used in 12 places.'>dst</a>);
<a id='L12' name='L12'></a>  12         <a href='../S/2424.html#L21' title='Defined at 21 in include/cmem.h.'>FREE</a>(<a href='../Y/80.html' title='Multiple used in 12 places.'>dst</a>);
<a id='L13' name='L13'></a>  13     <em class='brace'>}</em>
<a id='L14' name='L14'></a>  14     <strong class='reserved'>return</strong> 0;
<a id='L15' name='L15'></a>  15 <em class='brace'>}</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* [&lt;][&gt;][^]<a href='#L4'>[v]</a><a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em>
</body>
</html>

/* [<][>][^][v][top][bottom][index][help] */