diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2007-06-17 09:18:38 +0300 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2007-06-17 09:18:38 +0300 |
commit | 6e34d7b8a6de70db9c6a65610fd394c440ba5061 (patch) | |
tree | 7c578c355881a35d0b03e518310979742b47ec94 /gcc/fortran/gfortran.texi | |
parent | c09d5c7cffb82a6ade74aea1b3f4918a88738c92 (diff) | |
download | gcc-6e34d7b8a6de70db9c6a65610fd394c440ba5061.zip gcc-6e34d7b8a6de70db9c6a65610fd394c440ba5061.tar.gz gcc-6e34d7b8a6de70db9c6a65610fd394c440ba5061.tar.bz2 |
gfortran.texi: Add documentation for GFORTRAN_UNBUFFERED_n environment variables.
2007-06-17 Janne Blomqvist <jb@gcc.gnu.org>
* gfortran.texi: Add documentation for GFORTRAN_UNBUFFERED_n
environment variables. Fix documentation for
GFORTRAN_UNBUFFERED_ALL environment variable.
From-SVN: r125766
Diffstat (limited to 'gcc/fortran/gfortran.texi')
-rw-r--r-- | gcc/fortran/gfortran.texi | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index b0165c8..604e96b 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 |