diff options
author | Brooks Moses <brooks.moses@codesourcery.com> | 2007-03-08 22:49:28 +0000 |
---|---|---|
committer | Brooks Moses <brooks@gcc.gnu.org> | 2007-03-08 14:49:28 -0800 |
commit | e309748966409dbd70710d9158e79a62d017ec34 (patch) | |
tree | 6cbbf5ca22807c80b5916b3c80851128192dc79d | |
parent | 5f787cbcafdf31e0985fea070d0606f248877936 (diff) | |
download | gcc-e309748966409dbd70710d9158e79a62d017ec34.zip gcc-e309748966409dbd70710d9158e79a62d017ec34.tar.gz gcc-e309748966409dbd70710d9158e79a62d017ec34.tar.bz2 |
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
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/intrinsic.texi | 121 |
2 files changed, 61 insertions, 65 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index b3c64b7..b129644 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -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> PR fortran/30947 diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 2375e00..177362c 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -38,12 +38,6 @@ Some basic guidelines for editing this document: @chapter 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 - MClock @comment - Short @@ -1975,8 +1969,6 @@ program chmod_test print *, 'Status: ', status end program chmod_test @end smallexample -@item @emph{Specific names}: -@item @emph{See also}: @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 @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 @section @code{FTELL} --- Current stream position @cindex @code{FTELL} intrinsic @@ -4041,7 +4032,7 @@ Subroutine @item @emph{Arguments}: @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(*)}. @end multitable @@ -4138,7 +4129,7 @@ Subroutine @item @emph{Arguments}: @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(*)}. @end multitable @@ -4561,7 +4552,7 @@ Elemental function @item @emph{Arguments}: @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 @item @emph{Return value}: @@ -4860,10 +4851,10 @@ end program test_ichar @end smallexample @item @emph{Note}: -No intrinsic exists to convert a printable character string to a numerical -value. For example, there is no intrinsic that, given the @code{CHARACTER} -value 154, returns an @code{INTEGER} or @code{REAL} value with the -value 154. +No intrinsic exists to convert a printable character string to a +numerical value. For example, there is no intrinsic that, given the +@code{CHARACTER} value @code{'154'}, returns an @code{INTEGER} or +@code{REAL} value with the value 154. Instead, you can use internal-file I/O to do this kind of conversion. For example: @@ -5059,7 +5050,7 @@ Elemental function @item @emph{Arguments}: @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(*)}. @item @var{KIND} @tab (Optional) An @code{INTEGER(*)} initialization expression indicating the kind parameter of @@ -5167,7 +5158,7 @@ Non-elemental function @item @emph{Arguments}: @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 @item @emph{Return value}: @@ -6287,7 +6278,7 @@ Inquiry function @item @emph{Arguments}: @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 @item @emph{Return value}: @@ -6519,7 +6510,7 @@ Inquiry function @item @emph{Arguments}: @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 @item @emph{Return value}: @@ -6666,8 +6657,8 @@ Elemental function @item @emph{Arguments}: @multitable @columnfractions .15 .70 -@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{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 equal to zero @end multitable @@ -6725,8 +6716,8 @@ Elemental function @item @emph{Arguments}: @multitable @columnfractions .15 .70 -@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{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} @end multitable @item @emph{Return value}: @@ -6871,7 +6862,7 @@ Elemental function @item @emph{Arguments}: @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 not equal to zero. @end multitable @@ -7176,7 +7167,7 @@ Inquiry function @item @emph{Arguments}: @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 @item @emph{Return value}: @@ -7333,7 +7324,7 @@ Non-elemental function @item @emph{Arguments}: @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 @item @emph{Return value}: @@ -7428,7 +7419,7 @@ Inquiry function @item @emph{Arguments}: @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 @item @emph{Return value}: @@ -7467,7 +7458,7 @@ Elemental function @item @emph{Arguments}: @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(*)}. @item @var{KIND} @tab (Optional) An @code{INTEGER(*)} initialization expression indicating the kind parameter of @@ -7613,7 +7604,7 @@ Elemental function @item @emph{Arguments}: @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 @item @emph{Return value}: @@ -7802,7 +7793,7 @@ Transformational function @item @emph{Arguments}: @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 @item @emph{Example}: @@ -7907,8 +7898,8 @@ Elemental function @item @emph{Arguments}: @multitable @columnfractions .15 .70 -@item @var{X} @tab shall be of type @code{REAL}. -@item @var{I} @tab shall be of type @code{INTEGER}. +@item @var{X} @tab Shall be of type @code{REAL}. +@item @var{I} @tab Shall be of type @code{INTEGER}. @end multitable @item @emph{Return value}: @@ -7977,8 +7968,8 @@ Elemental function @item @emph{Arguments}: @multitable @columnfractions .15 .70 -@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{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} @end multitable @item @emph{Return value}: @@ -8039,7 +8030,7 @@ Subroutine, non-elemental function @item @emph{Arguments}: @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 @code{SUBROUTINE}) or dummy/global @code{INTEGER} scalar. @code{INTEGER}. It is @code{INTENT(IN)}. @@ -8382,7 +8373,7 @@ Non-elemental subroutine @item @emph{Arguments}: @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 @item @emph{Return value}: @@ -8805,7 +8796,7 @@ Elemental function @item @emph{Arguments}: @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 @item @emph{Return value}: |