From c35e7552a4a8ef0b39b306f516c00aca1b5a02d3 Mon Sep 17 00:00:00 2001 From: Simone Piccardi Date: Wed, 28 Nov 2001 19:07:30 +0000 Subject: [PATCH] Aggiunte altre estensioni Solaris --- filestd.tex | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/filestd.tex b/filestd.tex index b124e12..6730757 100644 --- a/filestd.tex +++ b/filestd.tex @@ -1,4 +1,4 @@ -\chapter{I file: l'interfaccia standard ANSI C} + \chapter{I file: l'interfaccia standard ANSI C} \label{cha:files_std_interface} Esamineremo in questo capitolo l'interfaccia standard ANSI C per i file, @@ -454,14 +454,17 @@ operazioni vengono effettuate un una subroutine, che a questo punto necessiterà di informazioni aggiuntive rispetto al semplice puntatore allo stream; questo può essere evitato con le due funzioni \func{\_\_freadable} e \func{\_\_fwritable} i cui prototipi sono: - \begin{functions} \headdecl{stdio\_ext.h} \funcdecl{int \_\_freadable (FILE * stream)} - \funcdecl{int \_\_fwritable(FILE * stream)} -\end{functions} + Restituisce un valore diverso da zero se \param{stream} consente la lettura. + \funcdecl{int \_\_fwritable(FILE * stream)} + Restituisce un valore diverso da zero se \param{stream} consente la + scrittura. +\end{functions} +Altre due funzioni, \func{\_\_freading} e \func{\_\_fwriting} servono \subsection{Il controllo della bufferizzazione} \label{sec:file_buffering_ctrl} -- 2.30.2