next up previous contents
Next: gestione utente, gruppo e Up: Funzioni comuni a tutti Previous: chiusura   Indice

recupero delle informazioni

$ \texttt{int stat(const char *}$pathname, $ \texttt{struct stat *}$buf $ \texttt{);}$

La funzione $ \texttt{stat()}$ ha il compito di immettere nella struttura rappresentata da buf le informazioni relative al file identificato da pathname. La struttura $ \texttt {struct stat}$ è stata approfondita nella sezione 3.2.



2004-11-19