intrinsic.texi: minor typo fixes, removed prologue.

* intrinsic.texi: minor typo fixes, removed prologue.
(FSEEK): moved to correct place in alphabetical order.

From-SVN: r122726
This commit is contained in:
Brooks Moses 2007-03-08 22:49:28 +00:00 committed by Brooks Moses
parent 5f787cbcaf
commit e309748966
2 changed files with 61 additions and 65 deletions

View File

@ -1,3 +1,8 @@
2007-03-08 Brooks Moses <brooks.moses@codesourcery.com>
* intrinsic.texi: minor typo fixes, removed prologue.
(FSEEK): moved to correct place in alphabetical order.
2007-03-08 Daniel Franke <franke.daniel@gmail.com> 2007-03-08 Daniel Franke <franke.daniel@gmail.com>
PR fortran/30947 PR fortran/30947

View File

@ -38,12 +38,6 @@ Some basic guidelines for editing this document:
@chapter Intrinsic Procedures @chapter Intrinsic Procedures
@cindex intrinsic procedures @cindex intrinsic procedures
This portion of the document is incomplete and undergoing massive expansion
and editing. All contributions and corrections are strongly encouraged.
Implemented intrinsics are fully functional and available to the user to apply.
Some intrinsics have documentation yet to be completed as indicated by 'documentation pending'.
@comment Missing intrinsics (double check with #19292) @comment Missing intrinsics (double check with #19292)
@comment - MClock @comment - MClock
@comment - Short @comment - Short
@ -1975,8 +1969,6 @@ program chmod_test
print *, 'Status: ', status print *, 'Status: ', status
end program chmod_test end program chmod_test
@end smallexample @end smallexample
@item @emph{Specific names}:
@item @emph{See also}:
@end table @end table
@ -3861,6 +3853,33 @@ See @code{MALLOC} for an example.
@node FSEEK
@section @code{FSEEK} --- Low level file positioning subroutine
@cindex @code{FSEEK} intrinsic
@cindex file system operations
Not yet implemented in GNU Fortran.
@table @asis
@item @emph{Description}:
@item @emph{Standard}:
GNU extension
@item @emph{Class}:
Subroutine
@item @emph{Syntax}:
@item @emph{Arguments}:
@item @emph{Return value}:
@item @emph{Example}:
@item @emph{Specific names}:
@item @emph{See also}:
@uref{http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19292, g77 features lacking in gfortran}
@end table
@node FSTAT @node FSTAT
@section @code{FSTAT} --- Get file status @section @code{FSTAT} --- Get file status
@ -3900,34 +3919,6 @@ To stat a link: @ref{LSTAT}, to stat a file: @ref{STAT}
@node FSEEK
@section @code{FSEEK} --- Low level file positioning subroutine
@cindex @code{FSEEK} intrinsic
@cindex file system operations
Not yet implemented in GNU Fortran.
@table @asis
@item @emph{Description}:
@item @emph{Standard}:
GNU extension
@item @emph{Class}:
Subroutine
@item @emph{Syntax}:
@item @emph{Arguments}:
@item @emph{Return value}:
@item @emph{Example}:
@item @emph{Specific names}:
@item @emph{See also}:
@uref{http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19292, g77 features lacking in gfortran}
@end table
@node FTELL @node FTELL
@section @code{FTELL} --- Current stream position @section @code{FTELL} --- Current stream position
@cindex @code{FTELL} intrinsic @cindex @code{FTELL} intrinsic
@ -4041,7 +4032,7 @@ Subroutine
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{N} @tab Shall of type @code{INTEGER(4)}, @math{@var{N} \geq 0} @item @var{N} @tab Shall be of type @code{INTEGER(4)}, @math{@var{N} \geq 0}
@item @var{ARG} @tab Shall be of type @code{CHARACTER(*)}. @item @var{ARG} @tab Shall be of type @code{CHARACTER(*)}.
@end multitable @end multitable
@ -4138,7 +4129,7 @@ Subroutine
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{N} @tab Shall of type @code{INTEGER(4)}, @math{@var{N} \geq 0} @item @var{N} @tab Shall be of type @code{INTEGER(4)}, @math{@var{N} \geq 0}
@item @var{ARG} @tab Shall be of type @code{CHARACTER(*)}. @item @var{ARG} @tab Shall be of type @code{CHARACTER(*)}.
@end multitable @end multitable
@ -4561,7 +4552,7 @@ Elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{X} @tab shall be of type @code{REAL} or @code{INTEGER}. @item @var{X} @tab Shall be of type @code{REAL} or @code{INTEGER}.
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -4860,10 +4851,10 @@ end program test_ichar
@end smallexample @end smallexample
@item @emph{Note}: @item @emph{Note}:
No intrinsic exists to convert a printable character string to a numerical No intrinsic exists to convert a printable character string to a
value. For example, there is no intrinsic that, given the @code{CHARACTER} numerical value. For example, there is no intrinsic that, given the
value 154, returns an @code{INTEGER} or @code{REAL} value with the @code{CHARACTER} value @code{'154'}, returns an @code{INTEGER} or
value 154. @code{REAL} value with the value 154.
Instead, you can use internal-file I/O to do this kind of conversion. For Instead, you can use internal-file I/O to do this kind of conversion. For
example: example:
@ -5059,7 +5050,7 @@ Elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{X} @tab shall be of type @code{INTEGER(*)}, @item @var{X} @tab Shall be of type @code{INTEGER(*)},
@code{REAL(*)}, or @code{COMPLEX(*)}. @code{REAL(*)}, or @code{COMPLEX(*)}.
@item @var{KIND} @tab (Optional) An @code{INTEGER(*)} initialization @item @var{KIND} @tab (Optional) An @code{INTEGER(*)} initialization
expression indicating the kind parameter of expression indicating the kind parameter of
@ -5167,7 +5158,7 @@ Non-elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{FLAG} @tab shall be a scalar @code{INTEGER} of kind 4. @item @var{FLAG} @tab Shall be a scalar @code{INTEGER} of kind 4.
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -6287,7 +6278,7 @@ Inquiry function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{X} @tab shall be of type @code{REAL}. @item @var{X} @tab Shall be of type @code{REAL}.
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -6519,7 +6510,7 @@ Inquiry function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{X} @tab shall be of type @code{REAL}. @item @var{X} @tab Shall be of type @code{REAL}.
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -6666,8 +6657,8 @@ Elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{A} @tab shall be a scalar of type @code{INTEGER} or @code{REAL} @item @var{A} @tab Shall be a scalar of type @code{INTEGER} or @code{REAL}
@item @var{P} @tab shall be a scalar of the same type as @var{A} and not @item @var{P} @tab Shall be a scalar of the same type as @var{A} and not
equal to zero equal to zero
@end multitable @end multitable
@ -6725,8 +6716,8 @@ Elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{A} @tab shall be a scalar of type @code{INTEGER} or @code{REAL} @item @var{A} @tab Shall be a scalar of type @code{INTEGER} or @code{REAL}
@item @var{P} @tab shall be a scalar of the same type and kind as @var{A} @item @var{P} @tab Shall be a scalar of the same type and kind as @var{A}
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -6871,7 +6862,7 @@ Elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{X} @tab shall be of type @code{REAL}. @item @var{X} @tab Shall be of type @code{REAL}.
@item @var{S} @tab (Optional) shall be of type @code{REAL} and @item @var{S} @tab (Optional) shall be of type @code{REAL} and
not equal to zero. not equal to zero.
@end multitable @end multitable
@ -7176,7 +7167,7 @@ Inquiry function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{X} @tab shall be of type @code{REAL} or @code{COMPLEX}. @item @var{X} @tab Shall be of type @code{REAL} or @code{COMPLEX}.
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -7333,7 +7324,7 @@ Non-elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{FLAG} @tab shall be a scalar @code{INTEGER} of kind 4. @item @var{FLAG} @tab Shall be a scalar @code{INTEGER} of kind 4.
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -7428,7 +7419,7 @@ Inquiry function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{X} @tab shall be of type @code{REAL} or @code{COMPLEX}. @item @var{X} @tab Shall be of type @code{REAL} or @code{COMPLEX}.
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -7467,7 +7458,7 @@ Elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{X} @tab shall be @code{INTEGER(*)}, @code{REAL(*)}, or @item @var{X} @tab Shall be @code{INTEGER(*)}, @code{REAL(*)}, or
@code{COMPLEX(*)}. @code{COMPLEX(*)}.
@item @var{KIND} @tab (Optional) An @code{INTEGER(*)} initialization @item @var{KIND} @tab (Optional) An @code{INTEGER(*)} initialization
expression indicating the kind parameter of expression indicating the kind parameter of
@ -7613,7 +7604,7 @@ Elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{X} @tab shall be of type @code{REAL}. @item @var{X} @tab Shall be of type @code{REAL}.
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -7802,7 +7793,7 @@ Transformational function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{I} @tab shall be a scalar and of type @code{INTEGER}. @item @var{I} @tab Shall be a scalar and of type @code{INTEGER}.
@end multitable @end multitable
@item @emph{Example}: @item @emph{Example}:
@ -7907,8 +7898,8 @@ Elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{X} @tab shall be of type @code{REAL}. @item @var{X} @tab Shall be of type @code{REAL}.
@item @var{I} @tab shall be of type @code{INTEGER}. @item @var{I} @tab Shall be of type @code{INTEGER}.
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -7977,8 +7968,8 @@ Elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{A} @tab shall be a scalar of type @code{INTEGER} or @code{REAL} @item @var{A} @tab Shall be a scalar of type @code{INTEGER} or @code{REAL}
@item @var{B} @tab shall be a scalar of the same type and kind as @var{A} @item @var{B} @tab Shall be a scalar of the same type and kind as @var{A}
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -8039,7 +8030,7 @@ Subroutine, non-elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{NUMBER} @tab shall be a scalar integer, with @code{INTENT(IN)} @item @var{NUMBER} @tab Shall be a scalar integer, with @code{INTENT(IN)}
@item @var{HANDLER}@tab Signal handler (@code{INTEGER FUNCTION} or @item @var{HANDLER}@tab Signal handler (@code{INTEGER FUNCTION} or
@code{SUBROUTINE}) or dummy/global @code{INTEGER} scalar. @code{SUBROUTINE}) or dummy/global @code{INTEGER} scalar.
@code{INTEGER}. It is @code{INTENT(IN)}. @code{INTEGER}. It is @code{INTENT(IN)}.
@ -8382,7 +8373,7 @@ Non-elemental subroutine
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{SEED} @tab shall be a scalar @code{INTEGER(kind=4)}. @item @var{SEED} @tab Shall be a scalar @code{INTEGER(kind=4)}.
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}:
@ -8805,7 +8796,7 @@ Elemental function
@item @emph{Arguments}: @item @emph{Arguments}:
@multitable @columnfractions .15 .70 @multitable @columnfractions .15 .70
@item @var{X} @tab shall be of type @code{REAL}. @item @var{X} @tab Shall be of type @code{REAL}.
@end multitable @end multitable
@item @emph{Return value}: @item @emph{Return value}: