<!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/system/comet2_err/err_205/create_a.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/2935.html'>system</a>/<a href='../files/3273.html'>comet2_err</a>/<a href='../files/3278.html'>err_205</a>/create_a.c</h2> <em class='comment'>/* [<][>]<a href='#L9'>[^]</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='#L9' title='Defined at 9.'>main</a></li> </ol> <hr /> <pre> <a id='L1' name='L1'></a> 1 <em class='sharp'>#include</em> <stdio.h> <a id='L2' name='L2'></a> 2 <em class='sharp'>#include</em> <stdlib.h> <a id='L3' name='L3'></a> 3 <em class='sharp'>#include</em> "<a href='2424.html'>cmem.h</a>" <a id='L4' name='L4'></a> 4 <em class='sharp'>#include</em> "<a href='2425.html'>word.h</a>" <a id='L5' name='L5'></a> 5 <a id='L6' name='L6'></a> 6 <em class='comment'>/**</em> <a id='L7' name='L7'></a> 7 <em class='comment'> * ファイルa.oにアセンブル結果を書込</em> <a id='L8' name='L8'></a> 8 <em class='comment'> */</em> <a id='L9' name='L9'></a> 9 <strong class='reserved'>int</strong> main() <a id='L10' name='L10'></a> 10 <em class='brace'>{</em> <a id='L11' name='L11'></a> 11 <a href='../Y/2.html' title='Multiple used in 16 places.'>FILE</a> *<a href='../Y/101.html' title='Multiple used in 34 places.'>fp</a>; <a id='L12' name='L12'></a> 12 <strong class='reserved'>const</strong> <a href='../S/2425.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/235.html' title='Multiple used in 107 places.'>w</a>[] = <em class='brace'>{</em>0x1010, 0x0005, 0x22f0, 0x0006, 0x8100, 0x0003, 0x0001<em class='brace'>}</em>; <a id='L13' name='L13'></a> 13 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/91.html' title='Multiple used in 12 places.'>f</a> = "a.o"; <a id='L14' name='L14'></a> 14 <a id='L15' name='L15'></a> 15 <strong class='reserved'>if</strong>((<a href='../Y/101.html' title='Multiple used in 34 places.'>fp</a> = <a href='../Y/100.html' title='Multiple used in 8 places.'>fopen</a>(<a href='../Y/91.html' title='Multiple used in 12 places.'>f</a>, "w")) == <a href='../Y/3.html' title='Multiple used in 191 places.'>NULL</a>) <em class='brace'>{</em> <a id='L16' name='L16'></a> 16 <a href='../Y/173.html' title='Multiple used in 8 places.'>perror</a>(<a href='../Y/91.html' title='Multiple used in 12 places.'>f</a>); <a id='L17' name='L17'></a> 17 <a href='../Y/90.html' title='Multiple used in 8 places.'>exit</a>(-1); <a id='L18' name='L18'></a> 18 <em class='brace'>}</em> <a id='L19' name='L19'></a> 19 <a href='../Y/107.html' title='Multiple used in 5 places.'>fwrite</a>(<a href='../Y/235.html' title='Multiple used in 107 places.'>w</a>, <strong class='reserved'>sizeof</strong>(<a href='../S/2425.html#L9' title='Defined at 9 in include/word.h.'>WORD</a>), <a href='../S/2424.html#L14' title='Defined at 14 in include/cmem.h.'>ARRAYSIZE</a>(<a href='../Y/235.html' title='Multiple used in 107 places.'>w</a>), <a href='../Y/101.html' title='Multiple used in 34 places.'>fp</a>); <a id='L20' name='L20'></a> 20 <a href='../Y/93.html' title='Multiple used in 8 places.'>fclose</a>(<a href='../Y/101.html' title='Multiple used in 34 places.'>fp</a>); <a id='L21' name='L21'></a> 21 <strong class='reserved'>return</strong> 0; <a id='L22' name='L22'></a> 22 <em class='brace'>}</em> </pre> <hr /> <a id='BOTTOM' name='BOTTOM'></a> <em class='comment'>/* [<][>][^]<a href='#L9'>[v]</a><a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em> </body> </html>