From: Janne Blomqvist Date: Sun, 17 Jun 2007 06:18:38 +0000 (+0300) Subject: gfortran.texi: Add documentation for GFORTRAN_UNBUFFERED_n environment variables. X-Git-Tag: releases/gcc-4.3.0~4424 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e34d7b8a6de70db9c6a65610fd394c440ba5061;p=thirdparty%2Fgcc.git gfortran.texi: Add documentation for GFORTRAN_UNBUFFERED_n environment variables. 2007-06-17 Janne Blomqvist * gfortran.texi: Add documentation for GFORTRAN_UNBUFFERED_n environment variables. Fix documentation for GFORTRAN_UNBUFFERED_ALL environment variable. From-SVN: r125766 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 932e004029b2..7528c11b691c 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2007-06-17 Janne Blomqvist + + * gfortran.texi: Add documentation for GFORTRAN_UNBUFFERED_n + environment variables. Fix documentation for + GFORTRAN_UNBUFFERED_ALL environment variable. + 2007-06-15 Andrew Pinski * trans-intrinsic.c (gfc_conv_intrinsic_repeat): Use diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index b0165c81bd06..604e96b8ffc3 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -512,7 +512,8 @@ Malformed environment variables are silently ignored. * GFORTRAN_STDERR_UNIT:: Unit number for standard error * GFORTRAN_USE_STDERR:: Send library output to standard error * GFORTRAN_TMPDIR:: Directory for scratch files -* GFORTRAN_UNBUFFERED_ALL:: Don't buffer output +* GFORTRAN_UNBUFFERED_n:: Don't buffer I/O for specific unit. +* GFORTRAN_UNBUFFERED_ALL:: Don't buffer I/O for all units. * GFORTRAN_SHOW_LOCUS:: Show location for runtime errors * GFORTRAN_OPTIONAL_PLUS:: Print leading + where permitted * GFORTRAN_DEFAULT_RECL:: Default record length for new files @@ -559,14 +560,24 @@ created. If this environment variable is missing, GNU Fortran searches for the environment variable @env{TMP}. If this is also missing, the default is @file{/tmp}. +@node GFORTRAN_UNBUFFERED_n +@section @env{GFORTRAN_UNBUFFERED_n}---Don't buffer I/O on unit n + +Environment variables named @env{GFORTRAN_UNBUFFERED_n}, where +@samp{n} is an integer, control whether I/O on unit @samp{n} is +unbuffered. If the first letter is @samp{y}, @samp{Y} or @samp{1}, +I/O is unbuffered. This will slow down small sequential reads and +writes. If the first letter is @samp{n}, @samp{N} or @samp{0}, I/O is +buffered. This is the default. + @node GFORTRAN_UNBUFFERED_ALL -@section @env{GFORTRAN_UNBUFFERED_ALL}---Don't buffer output +@section @env{GFORTRAN_UNBUFFERED_ALL}---Don't buffer I/O on all units -This environment variable controls whether all output is unbuffered. -If the first letter is @samp{y}, @samp{Y} or @samp{1}, all output is -unbuffered. This will slow down large writes. If the first letter is -@samp{n}, @samp{N} or @samp{0}, output is buffered. This is the -default. +This environment variable controls whether all I/O is unbuffered. If +the first letter is @samp{y}, @samp{Y} or @samp{1}, all I/O is +unbuffered. This will slow down small sequential reads and writes. If +the first letter is @samp{n}, @samp{N} or @samp{0}, I/O is buffered. +This is the default. @node GFORTRAN_SHOW_LOCUS @section @env{GFORTRAN_SHOW_LOCUS}---Show location for runtime errors