root/doc_inner/gnu_global/S/977.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/strdup_chk/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/3399.html'>strdup_chk</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()<em class='brace'>{</em>
<a id='L5' name='L5'></a>   5     <strong class='reserved'>char</strong> *<a href='../Y/80.html' title='Multiple used in 12 places.'>dst</a>, *<a href='../Y/195.html' title='Multiple used in 11 places.'>src</a> = "abcdefghijklmnopqrstuvwxyz";
<a id='L6' name='L6'></a>   6 
<a id='L7' name='L7'></a>   7     <a href='../Y/80.html' title='Multiple used in 12 places.'>dst</a> = <a href='../S/2831.html#L25' title='Defined at 25 in src/cmem.c.'>strdup_chk</a>(<a href='../Y/195.html' title='Multiple used in 11 places.'>src</a>, "strdup_chk unit test");
<a id='L8' name='L8'></a>   8     <a href='../Y/176.html' title='Multiple used in 32 places.'>printf</a>("%s\n", <a href='../Y/80.html' title='Multiple used in 12 places.'>dst</a>);
<a id='L9' name='L9'></a>   9     <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='L10' name='L10'></a>  10     <strong class='reserved'>return</strong> 0;
<a id='L11' name='L11'></a>  11 <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] */