gem-graph-client/doc/docbook/df/d0a/io_8c.xml

63 lines
2.6 KiB
XML
Raw Normal View History

2024-10-20 01:05:12 +02:00
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_io_8c" xml:lang="en-US">
<title>src/util/io.c File Reference</title>
<indexterm><primary>src/util/io.c</primary></indexterm>
<para>
<para>Gem-graph-client util input output. </para>
</para>
<programlisting linenumbering="unnumbered">#include &lt;assert.h&gt;<?linebreak?>#include &lt;errno.h&gt;<?linebreak?>#include &lt;fcntl.h&gt;<?linebreak?>#include &lt;math.h&gt;<?linebreak?>#include &lt;stdio.h&gt;<?linebreak?>#include &lt;stdlib.h&gt;<?linebreak?>#include &lt;stddef.h&gt;<?linebreak?>#include &lt;stdbool.h&gt;<?linebreak?>#include &lt;sys/types.h&gt;<?linebreak?>#include &lt;sys/stat.h&gt;<?linebreak?>#include &lt;unistd.h&gt;<?linebreak?>#include &lt;time.h&gt;<?linebreak?>#include &quot;../../include/util.h&quot;<?linebreak?></programlisting><simplesect>
<title>Functions </title>
<itemizedlist>
<listitem><para>char * <link linkend="_io_8c_1a40bb126a021a338b20022e741bbd4ae1">util_read_file</link> (char *filename)</para>
<para>reads a file from filename into a provided buffer </para>
</listitem>
</itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>
<para>Gem-graph-client util input output. </para>
<para>This file is part of Gem-graph. </para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_io_8c_1a40bb126a021a338b20022e741bbd4ae1"/><section>
<title>util_read_file()</title>
<indexterm><primary>util_read_file</primary><secondary>io.c</secondary></indexterm>
<indexterm><primary>io.c</primary><secondary>util_read_file</secondary></indexterm>
<para><computeroutput>char * util_read_file (char * filename)</computeroutput></para><para>
<para>reads a file from filename into a provided buffer </para>
</para>
<para>
<formalpara>
<title>
Parameters</title>
<para>
<table frame="all">
<tgroup cols="2" align="left" colsep="1" rowsep="1">
<colspec colwidth="1*"/>
<colspec colwidth="4*"/>
<tbody>
<row>
<entry>*filename</entry><entry></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</formalpara>
<formalpara><title>Returns</title>
<para>char </para>
</formalpara>
</para>
</section>
</section>
</section>