2024-10-20 01:05:12 +02:00
|
|
|
.TH "src/util/io.c" 3 "Version 0.1.0" "Gem-graph" \" -*- nroff -*-
|
|
|
|
.ad l
|
|
|
|
.nh
|
|
|
|
.SH NAME
|
2024-10-22 23:58:04 +02:00
|
|
|
src/util/io.c \- input output
|
2024-10-20 01:05:12 +02:00
|
|
|
|
|
|
|
.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
|
2024-10-22 23:58:04 +02:00
|
|
|
input output
|
2024-10-20 01:05:12 +02:00
|
|
|
|
|
|
|
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\&.
|