X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=fileio.tex;h=bab3ca2a867747ce50f91d90bace3a99fad6e226;hp=74193f4853769b3eb407079c9f8d63754743af37;hb=c01748fa2f24d5ecfe61d2e3ec94b71dbf966e42;hpb=a801b1a1804866073aad5c25a84893a697a3b3b3 diff --git a/fileio.tex b/fileio.tex index 74193f4..bab3ca2 100644 --- a/fileio.tex +++ b/fileio.tex @@ -1,6 +1,6 @@ %% fileio.tex (merge fileunix.tex - filestd.tex) %% -%% Copyright (C) 2000-2012 Simone Piccardi. Permission is granted to +%% Copyright (C) 2000-2013 Simone Piccardi. Permission is granted to %% copy, distribute and/or modify this document under the terms of the GNU Free %% Documentation License, Version 1.1 or any later version published by the %% Free Software Foundation; with the Invariant Sections being "Un preambolo", @@ -121,13 +121,14 @@ che il kernel mantiene per ciascun file e ciascun processo. Come si può notare alla fine il collegamento che consente di porre in relazione i file ed i processi è effettuato attraverso i dati mantenuti nella -struttura \kstruct{files\_struct}, essa infatti contiene alcune informazioni +struttura \kstruct{files\_struct} essa infatti contiene alcune informazioni essenziali come: \begin{itemize*} \item i flag relativi ai file aperti dal processo. \item il numero di file aperti dal processo. -\item una tabella di puntatori alla relativa voce nella \itindex{file~table} - \textit{file table} per ciascun file aperto. +\item la \itindex{file~descriptor~table} \textit{file descriptor table}, una + tabella con i puntatori, per ciascun file aperto, alla relativa voce nella + \itindex{file~table} \textit{file table}. \end{itemize*} In questa infrastruttura un \textit{file descriptor} non è altro che l'intero