Commit 159c2794 by Janne Blomqvist

More style fixes from Ralf

From-SVN: r169893
parent f3f2c465
...@@ -1163,7 +1163,7 @@ depending on the kind. ...@@ -1163,7 +1163,7 @@ depending on the kind.
@section Thread-safety of the runtime library @section Thread-safety of the runtime library
@cindex thread-safety, threads @cindex thread-safety, threads
GNU Fortran can be used in programs with multiple threads, e.g. by GNU Fortran can be used in programs with multiple threads, e.g.@: by
using OpenMP, by calling OS thread handling functions via the using OpenMP, by calling OS thread handling functions via the
@code{ISO_C_BINDING} facility, or by GNU Fortran compiled library code @code{ISO_C_BINDING} facility, or by GNU Fortran compiled library code
being called from a multi-threaded program. being called from a multi-threaded program.
......
...@@ -2686,7 +2686,7 @@ end program test_cmplx ...@@ -2686,7 +2686,7 @@ end program test_cmplx
@table @asis @table @asis
@item @emph{Description}: @item @emph{Description}:
@code{COMMAND_ARGUMENT_COUNT()} returns the number of arguments passed on the @code{COMMAND_ARGUMENT_COUNT} returns the number of arguments passed on the
command line when the containing program was invoked. command line when the containing program was invoked.
@item @emph{Standard}: @item @emph{Standard}:
...@@ -2730,7 +2730,7 @@ end program test_command_argument_count ...@@ -2730,7 +2730,7 @@ end program test_command_argument_count
@table @asis @table @asis
@item @emph{Description}: @item @emph{Description}:
@code{COMPILER_OPTIONS()} returns a string with the options used for @code{COMPILER_OPTIONS} returns a string with the options used for
compiling. compiling.
@item @emph{Standard}: @item @emph{Standard}:
...@@ -2773,7 +2773,7 @@ the @code{COMPILER_OPTIONS} intrinsic. ...@@ -2773,7 +2773,7 @@ the @code{COMPILER_OPTIONS} intrinsic.
@table @asis @table @asis
@item @emph{Description}: @item @emph{Description}:
@code{COMPILER_VERSION()} returns a string with the name and the @code{COMPILER_VERSION} returns a string with the name and the
version of the compiler. version of the compiler.
@item @emph{Standard}: @item @emph{Standard}:
...@@ -3209,7 +3209,7 @@ end program test_cshift ...@@ -3209,7 +3209,7 @@ end program test_cshift
@table @asis @table @asis
@item @emph{Description}: @item @emph{Description}:
@code{CTIME} converts a system time value, such as returned by @code{CTIME} converts a system time value, such as returned by
@code{TIME8()}, to a string of the form @samp{Sat Aug 19 18:13:14 1995}. @code{TIME8}, to a string of the form @samp{Sat Aug 19 18:13:14 1995}.
This intrinsic is provided in both subroutine and function forms; however, This intrinsic is provided in both subroutine and function forms; however,
only one form can be used in any given program unit. only one form can be used in any given program unit.
...@@ -4163,9 +4163,9 @@ the command, as returned by @code{system}. @code{CMDSTAT} is set to zero ...@@ -4163,9 +4163,9 @@ the command, as returned by @code{system}. @code{CMDSTAT} is set to zero
if the command line was executed (whatever its exit status was). if the command line was executed (whatever its exit status was).
@code{CMDMSG} is assigned an error message if an error has occurred. @code{CMDMSG} is assigned an error message if an error has occurred.
Note that the @code{system} call need not be thread-safe. It is the Note that the @code{system} function need not be thread-safe. It is
responsibility of the user to ensure that @code{system} is not called the responsibility of the user to ensure that @code{system} is not
concurrently. called concurrently.
@item @emph{Standard}: @item @emph{Standard}:
Fortran 2008 and later Fortran 2008 and later
...@@ -4913,7 +4913,7 @@ end program test_fraction ...@@ -4913,7 +4913,7 @@ end program test_fraction
@table @asis @table @asis
@item @emph{Description}: @item @emph{Description}:
Frees memory previously allocated by @code{MALLOC()}. The @code{FREE} Frees memory previously allocated by @code{MALLOC}. The @code{FREE}
intrinsic is an extension intended to be used with Cray pointers, and is intrinsic is an extension intended to be used with Cray pointers, and is
provided in GNU Fortran to allow user to compile legacy code. For provided in GNU Fortran to allow user to compile legacy code. For
new code using Fortran 95 pointers, the memory de-allocation intrinsic is new code using Fortran 95 pointers, the memory de-allocation intrinsic is
...@@ -5718,7 +5718,7 @@ See @code{GETPID} for an example. ...@@ -5718,7 +5718,7 @@ See @code{GETPID} for an example.
@table @asis @table @asis
@item @emph{Description}: @item @emph{Description}:
Given a system time value @var{TIME} (as provided by the @code{TIME8()} Given a system time value @var{TIME} (as provided by the @code{TIME8}
intrinsic), fills @var{VALUES} with values extracted from it appropriate intrinsic), fills @var{VALUES} with values extracted from it appropriate
to the UTC time zone (Universal Coordinated Time, also known in some to the UTC time zone (Universal Coordinated Time, also known in some
countries as GMT, Greenwich Mean Time), using @code{gmtime(3)}. countries as GMT, Greenwich Mean Time), using @code{gmtime(3)}.
...@@ -6109,7 +6109,7 @@ END PROGRAM ...@@ -6109,7 +6109,7 @@ END PROGRAM
@table @asis @table @asis
@item @emph{Description}: @item @emph{Description}:
@code{IARGC()} returns the number of arguments passed on the @code{IARGC} returns the number of arguments passed on the
command line when the containing program was invoked. command line when the containing program was invoked.
This intrinsic routine is provided for backwards compatibility with This intrinsic routine is provided for backwards compatibility with
...@@ -6424,8 +6424,8 @@ the larger argument.) ...@@ -6424,8 +6424,8 @@ the larger argument.)
@table @asis @table @asis
@item @emph{Description}: @item @emph{Description}:
Returns the last system error number, as given by the C @code{errno()} Returns the last system error number, as given by the C @code{errno}
function. variable.
@item @emph{Standard}: @item @emph{Standard}:
GNU extension GNU extension
...@@ -8080,7 +8080,7 @@ To stat an open file: @ref{FSTAT}, to stat a file: @ref{STAT} ...@@ -8080,7 +8080,7 @@ To stat an open file: @ref{FSTAT}, to stat a file: @ref{STAT}
@table @asis @table @asis
@item @emph{Description}: @item @emph{Description}:
Given a system time value @var{TIME} (as provided by the @code{TIME8()} Given a system time value @var{TIME} (as provided by the @code{TIME8}
intrinsic), fills @var{VALUES} with values extracted from it appropriate intrinsic), fills @var{VALUES} with values extracted from it appropriate
to the local time zone using @code{localtime(3)}. to the local time zone using @code{localtime(3)}.
...@@ -8559,7 +8559,7 @@ on the UNIX function @code{clock(3)}. ...@@ -8559,7 +8559,7 @@ on the UNIX function @code{clock(3)}.
@emph{Warning:} this intrinsic does not increase the range of the timing @emph{Warning:} this intrinsic does not increase the range of the timing
values over that returned by @code{clock(3)}. On a system with a 32-bit values over that returned by @code{clock(3)}. On a system with a 32-bit
@code{clock(3)}, @code{MCLOCK8()} will return a 32-bit value, even though @code{clock(3)}, @code{MCLOCK8} will return a 32-bit value, even though
it is converted to a 64-bit @code{INTEGER(8)} value. That means it is converted to a 64-bit @code{INTEGER(8)} value. That means
overflows of the 32-bit value can still occur. Therefore, the values overflows of the 32-bit value can still occur. Therefore, the values
returned by this intrinsic might be or become negative or numerically returned by this intrinsic might be or become negative or numerically
...@@ -11792,9 +11792,9 @@ and environment-dependent. ...@@ -11792,9 +11792,9 @@ and environment-dependent.
This intrinsic is provided in both subroutine and function forms; This intrinsic is provided in both subroutine and function forms;
however, only one form can be used in any given program unit. however, only one form can be used in any given program unit.
Note that the @code{system} call need not be thread-safe. It is the Note that the @code{system} function need not be thread-safe. It is
responsibility of the user to ensure that @code{system} is not called the responsibility of the user to ensure that @code{system} is not
concurrently. called concurrently.
@item @emph{Standard}: @item @emph{Standard}:
GNU extension GNU extension
...@@ -12057,7 +12057,7 @@ END IF ...@@ -12057,7 +12057,7 @@ END IF
@item @emph{Description}: @item @emph{Description}:
Returns the current time encoded as an integer (in the manner of the Returns the current time encoded as an integer (in the manner of the
UNIX function @code{time(3)}). This value is suitable for passing to UNIX function @code{time(3)}). This value is suitable for passing to
@code{CTIME()}, @code{GMTIME()}, and @code{LTIME()}. @code{CTIME}, @code{GMTIME}, and @code{LTIME}.
This intrinsic is not fully portable, such as to systems with 32-bit This intrinsic is not fully portable, such as to systems with 32-bit
@code{INTEGER} types but supporting times wider than 32 bits. Therefore, @code{INTEGER} types but supporting times wider than 32 bits. Therefore,
...@@ -12098,11 +12098,11 @@ The return value is a scalar of type @code{INTEGER(4)}. ...@@ -12098,11 +12098,11 @@ The return value is a scalar of type @code{INTEGER(4)}.
@item @emph{Description}: @item @emph{Description}:
Returns the current time encoded as an integer (in the manner of the Returns the current time encoded as an integer (in the manner of the
UNIX function @code{time(3)}). This value is suitable for passing to UNIX function @code{time(3)}). This value is suitable for passing to
@code{CTIME()}, @code{GMTIME()}, and @code{LTIME()}. @code{CTIME}, @code{GMTIME}, and @code{LTIME}.
@emph{Warning:} this intrinsic does not increase the range of the timing @emph{Warning:} this intrinsic does not increase the range of the timing
values over that returned by @code{time(3)}. On a system with a 32-bit values over that returned by @code{time(3)}. On a system with a 32-bit
@code{time(3)}, @code{TIME8()} will return a 32-bit value, even though @code{time(3)}, @code{TIME8} will return a 32-bit value, even though
it is converted to a 64-bit @code{INTEGER(8)} value. That means it is converted to a 64-bit @code{INTEGER(8)} value. That means
overflows of the 32-bit value can still occur. Therefore, the values overflows of the 32-bit value can still occur. Therefore, the values
returned by this intrinsic might be or become negative or numerically returned by this intrinsic might be or become negative or numerically
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment