63 lines
2.6 KiB
XML
63 lines
2.6 KiB
XML
<?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 <assert.h><?linebreak?>#include <errno.h><?linebreak?>#include <fcntl.h><?linebreak?>#include <math.h><?linebreak?>#include <stdio.h><?linebreak?>#include <stdlib.h><?linebreak?>#include <stddef.h><?linebreak?>#include <stdbool.h><?linebreak?>#include <sys/types.h><?linebreak?>#include <sys/stat.h><?linebreak?>#include <unistd.h><?linebreak?>#include <time.h><?linebreak?>#include "../../include/util.h"<?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>
|