X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=fileunix.tex;h=a4fb47991a1450c23e02113f3c90aa177e7f2ac5;hp=de5d17d40096afa65d99ff302b8dc6ae5696803f;hb=d99b4995b23505a9afde30adf3a716aa7a55f0e9;hpb=09fff83335c84e1290f725341b0959344e5a7b03 diff --git a/fileunix.tex b/fileunix.tex index de5d17d..a4fb479 100644 --- a/fileunix.tex +++ b/fileunix.tex @@ -1,6 +1,12 @@ \chapter{I files: l'interfaccia I/O di unix} \label{cha:file_unix_interface} +Per poter accedere al contenuto dei file occorre anzitutto aprirlo. Questo +crea un canale di comunicazione che permette di eseguire una serie di +operazioni. Una volta terminate le operazioni, il file dovrà essere chiuso, e +questo chiuderà il canale di comunicazione impedendo ogni ulteriore +operazione. + \section{I file descriptors} @@ -20,6 +26,9 @@ L'interfaccia standard unix per l'input/output sui file \subsection{La funzione \texttt{creat}} \label{sec:fileunix_creat} +\subsection{La funzione \texttt{close}} +\label{sec:fileunix_close} + \subsection{La funzione \texttt{lseek}} \label{sec:fileunix_lseek} @@ -45,7 +54,7 @@ L'interfaccia standard unix per l'input/output sui file \subsection{La funzione \texttt{fcntl}} \label{sec:fileunix_fcntl} -\subsection{La funzione \texttt{fcntl}} +\subsection{La funzione \texttt{ioctl}} \label{sec:fileunix_ioctl}