71 lines
1.1 KiB
Groff
71 lines
1.1 KiB
Groff
.TH "src/util/io.c" 3 "Version 0.1.0" "Gem-graph" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
src/util/io.c \- input output
|
|
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
\fC#include <assert\&.h>\fP
|
|
.br
|
|
\fC#include <errno\&.h>\fP
|
|
.br
|
|
\fC#include <fcntl\&.h>\fP
|
|
.br
|
|
\fC#include <math\&.h>\fP
|
|
.br
|
|
\fC#include <stdio\&.h>\fP
|
|
.br
|
|
\fC#include <stdlib\&.h>\fP
|
|
.br
|
|
\fC#include <stddef\&.h>\fP
|
|
.br
|
|
\fC#include <stdbool\&.h>\fP
|
|
.br
|
|
\fC#include <sys/types\&.h>\fP
|
|
.br
|
|
\fC#include <sys/stat\&.h>\fP
|
|
.br
|
|
\fC#include <unistd\&.h>\fP
|
|
.br
|
|
\fC#include <time\&.h>\fP
|
|
.br
|
|
\fC#include '\&.\&./\&.\&./include/util\&.h'\fP
|
|
.br
|
|
|
|
.SS "Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "char * \fButil_read_file\fP (char *filename)"
|
|
.br
|
|
.RI "reads a file from filename into a provided buffer "
|
|
.in -1c
|
|
.SH "Detailed Description"
|
|
.PP
|
|
input output
|
|
|
|
This file is part of Gem-graph\&.
|
|
.SH "Function Documentation"
|
|
.PP
|
|
.SS "char * util_read_file (char * filename)"
|
|
|
|
.PP
|
|
reads a file from filename into a provided buffer
|
|
.PP
|
|
\fBParameters\fP
|
|
.RS 4
|
|
\fI*filename\fP
|
|
.RE
|
|
.PP
|
|
\fBReturns\fP
|
|
.RS 4
|
|
char
|
|
.RE
|
|
.PP
|
|
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for Gem-graph from the source code\&.
|