52 lines
2.4 KiB
TeX
52 lines
2.4 KiB
TeX
\doxysection{src/disk.h File Reference}
|
|
\hypertarget{disk_8h}{}\label{disk_8h}\index{src/disk.h@{src/disk.h}}
|
|
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
|
{\ttfamily \#include "{}const.\+h"{}}\newline
|
|
{\ttfamily \#include "{}struct.\+h"{}}\newline
|
|
{\ttfamily \#include $<$string.\+h$>$}\newline
|
|
Include dependency graph for disk.\+h\+:
|
|
% FIG 0
|
|
This graph shows which files directly or indirectly include this file\+:
|
|
% FIG 1
|
|
\doxysubsubsection*{Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{structdisk}{disk}} \mbox{\hyperlink{disk_8h_a7eb10c7006ff648d851b15f24e4305c3}{create\+\_\+disk}} ()
|
|
\begin{DoxyCompactList}\small\item\em Créer un fichier "{}disk"{} de taille MAX\+\_\+\+BYTES\+\_\+\+PER\+\_\+\+BLOC \texorpdfstring{$\ast$}{*} MAX\+\_\+\+BLOCS, renvoi ce disque. \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{structdisk}{disk}} \mbox{\hyperlink{disk_8h_a0410aa30c92de7cca42080e61d4dcd91}{open\+\_\+disk}} (char \texorpdfstring{$\ast$}{*}filename)
|
|
\begin{DoxyCompactList}\small\item\em Si un fichier filename existe, alors on le lit et le stocke en mémoire. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{Function Documentation}
|
|
\Hypertarget{disk_8h_a7eb10c7006ff648d851b15f24e4305c3}\label{disk_8h_a7eb10c7006ff648d851b15f24e4305c3}
|
|
\index{disk.h@{disk.h}!create\_disk@{create\_disk}}
|
|
\index{create\_disk@{create\_disk}!disk.h@{disk.h}}
|
|
\doxysubsubsection{\texorpdfstring{create\_disk()}{create\_disk()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{structdisk}{disk}} create\+\_\+disk (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Créer un fichier "{}disk"{} de taille MAX\+\_\+\+BYTES\+\_\+\+PER\+\_\+\+BLOC \texorpdfstring{$\ast$}{*} MAX\+\_\+\+BLOCS, renvoi ce disque.
|
|
|
|
\begin{DoxyReturn}{Returns}
|
|
Le disque créé
|
|
\end{DoxyReturn}
|
|
\Hypertarget{disk_8h_a0410aa30c92de7cca42080e61d4dcd91}\label{disk_8h_a0410aa30c92de7cca42080e61d4dcd91}
|
|
\index{disk.h@{disk.h}!open\_disk@{open\_disk}}
|
|
\index{open\_disk@{open\_disk}!disk.h@{disk.h}}
|
|
\doxysubsubsection{\texorpdfstring{open\_disk()}{open\_disk()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{structdisk}{disk}} open\+\_\+disk (\begin{DoxyParamCaption}\item[{char \texorpdfstring{$\ast$}{*}}]{filename }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Si un fichier filename existe, alors on le lit et le stocke en mémoire.
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em char} & \texorpdfstring{$\ast$}{*}filename Le nom du fichier à lire \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Returns}
|
|
Le disque lu
|
|
\end{DoxyReturn}
|