Commit 60afa297 by Dave Love Committed by Dave Love

intdoc.in (HOSTNM_func, [...]): Note possible need for -lsocket.

1998-07-06  Dave Love  <d.love@dl.ac.uk>
	* intdoc.in (HOSTNM_func, HOSTNM_subr): Note possible need for
	-lsocket.

From-SVN: r20949
parent 83630c20
1998-07-06 Dave Love <d.love@dl.ac.uk>
* intdoc.in (HOSTNM_func, HOSTNM_subr): Note possible need for
-lsocket.
1998-07-05 Dave Love <d.love@dl.ac.uk> 1998-07-05 Dave Love <d.love@dl.ac.uk>
* intdoc.in: Add entry for DATE_AND_TIME. * intdoc.in: Add entry for DATE_AND_TIME.
......
...@@ -1058,7 +1058,7 @@ DEFDOC (DATE, "Get current date as dd-Mon-yy.", "\ ...@@ -1058,7 +1058,7 @@ DEFDOC (DATE, "Get current date as dd-Mon-yy.", "\
Returns @var{@1@} in the form @samp{@var{dd}-@var{mmm}-@var{yy}}, Returns @var{@1@} in the form @samp{@var{dd}-@var{mmm}-@var{yy}},
representing the numeric day of the month @var{dd}, a three-character representing the numeric day of the month @var{dd}, a three-character
abbreviation of the month name @var{mmm} and the last two digits of abbreviation of the month name @var{mmm} and the last two digits of
the year @var{yy}, e.g.@ @samp{25-Nov-96}. the year @var{yy}, e.g.@: @samp{25-Nov-96}.
This intrinsic is not recommended, due to the year 2000 approaching. This intrinsic is not recommended, due to the year 2000 approaching.
@xref{CTime Intrinsic (subroutine)}, for information on obtaining more digits @xref{CTime Intrinsic (subroutine)}, for information on obtaining more digits
...@@ -2057,6 +2057,10 @@ DEFDOC (HOSTNM_func, "Get host name.", "\ ...@@ -2057,6 +2057,10 @@ DEFDOC (HOSTNM_func, "Get host name.", "\
Fills @var{@1@} with the system's host name returned by Fills @var{@1@} with the system's host name returned by
@code{gethostname(2)}, returning 0 on success or a non-zero error code @code{gethostname(2)}, returning 0 on success or a non-zero error code
(@code{ENOSYS} if the system does not provide @code{gethostname(2)}). (@code{ENOSYS} if the system does not provide @code{gethostname(2)}).
On some systems (specifically SCO) it may be necessary to link the
`socket' library if you call this routine, i.e.@: add @samp{-lsocket}
to the @code{g77} arguments.
") ")
DEFDOC (HOSTNM_subr, "Get host name.", "\ DEFDOC (HOSTNM_subr, "Get host name.", "\
...@@ -2069,9 +2073,11 @@ If the @var{@2@} argument is supplied, it contains ...@@ -2069,9 +2073,11 @@ If the @var{@2@} argument is supplied, it contains
Some non-GNU implementations of Fortran provide this intrinsic as Some non-GNU implementations of Fortran provide this intrinsic as
only a function, not as a subroutine, or do not support the only a function, not as a subroutine, or do not support the
(optional) @var{@2@} argument. (optional) @var{@2@} argument.
")
/* Fixme: stream I/O */ On some systems (specifically SCO) it may be necessary to link the
`socket' library if you call this routine, i.e.@: add @samp{-lsocket}
to the @code{g77} arguments.
")
DEFDOC (FLUSH, "Flush buffered output.", "\ DEFDOC (FLUSH, "Flush buffered output.", "\
Flushes Fortran unit(s) currently open for output. Flushes Fortran unit(s) currently open for output.
...@@ -2428,7 +2434,7 @@ Zeros are shifted in from the opposite end. ...@@ -2428,7 +2434,7 @@ Zeros are shifted in from the opposite end.
DEFDOC (ISHFTC, "Circular bit shift.", "\ DEFDOC (ISHFTC, "Circular bit shift.", "\
The rightmost @var{@3@} bits of the argument @var{@1@} The rightmost @var{@3@} bits of the argument @var{@1@}
are shifted circularly @var{@2@} are shifted circularly @var{@2@}
places, i.e.@ the bits shifted out of one end are shifted into places, i.e.@: the bits shifted out of one end are shifted into
the opposite end. the opposite end.
No bits are lost. No bits are lost.
The unshifted bits of the result are the same as The unshifted bits of the result are the same as
...@@ -2479,7 +2485,7 @@ The time in the form @samp{@var{hhmmss.ss}}: hours, minutes, seconds ...@@ -2479,7 +2485,7 @@ The time in the form @samp{@var{hhmmss.ss}}: hours, minutes, seconds
and milliseconds; and milliseconds;
@item @3@ @item @3@
The difference between local time and UTC (GMT) in the form @var{Shhmm}: The difference between local time and UTC (GMT) in the form @var{Shhmm}:
sign, hours and minutes, e.g.@ @samp{-0500} (winter in New York); sign, hours and minutes, e.g.@: @samp{-0500} (winter in New York);
@item @4@ @item @4@
The year, month of the year, day of the month, time difference in The year, month of the year, day of the month, time difference in
minutes from UTC, hour of the day, minutes of the hour and milliseconds minutes from UTC, hour of the day, minutes of the hour and milliseconds
......
...@@ -2964,7 +2964,7 @@ Description: ...@@ -2964,7 +2964,7 @@ Description:
Returns @var{Date} in the form @samp{@var{dd}-@var{mmm}-@var{yy}}, Returns @var{Date} in the form @samp{@var{dd}-@var{mmm}-@var{yy}},
representing the numeric day of the month @var{dd}, a three-character representing the numeric day of the month @var{dd}, a three-character
abbreviation of the month name @var{mmm} and the last two digits of abbreviation of the month name @var{mmm} and the last two digits of
the year @var{yy}, e.g.@ @samp{25-Nov-96}. the year @var{yy}, e.g.@: @samp{25-Nov-96}.
This intrinsic is not recommended, due to the year 2000 approaching. This intrinsic is not recommended, due to the year 2000 approaching.
@xref{CTime Intrinsic (subroutine)}, for information on obtaining more digits @xref{CTime Intrinsic (subroutine)}, for information on obtaining more digits
...@@ -2979,14 +2979,14 @@ for the current (or any) date. ...@@ -2979,14 +2979,14 @@ for the current (or any) date.
@noindent @noindent
@example @example
CALL Date_and_Time(@var{Date}, @var{Ftime}, @var{Zone}, @var{Values}) CALL Date_and_Time(@var{Date}, @var{Time}, @var{Zone}, @var{Values})
@end example @end example
@noindent @noindent
@var{Date}: @code{CHARACTER}; scalar; INTENT(OUT). @var{Date}: @code{CHARACTER}; scalar; INTENT(OUT).
@noindent @noindent
@var{Ftime}: @code{CHARACTER}; OPTIONAL; scalar; INTENT(OUT). @var{Time}: @code{CHARACTER}; OPTIONAL; scalar; INTENT(OUT).
@noindent @noindent
@var{Zone}: @code{CHARACTER}; OPTIONAL; scalar; INTENT(OUT). @var{Zone}: @code{CHARACTER}; OPTIONAL; scalar; INTENT(OUT).
...@@ -3000,21 +3000,22 @@ Intrinsic groups: @code{f90}. ...@@ -3000,21 +3000,22 @@ Intrinsic groups: @code{f90}.
@noindent @noindent
Description: Description:
Returns Returns:
@table @var @table @var
@item Date @item Date
The date in the form @var{ccyymmdd}: century, year, month and day; The date in the form @var{ccyymmdd}: century, year, month and day;
@item Ftime @item Time
The time in the form @samp{@var{hhmmss.ss}}: hours, minutes, seconds The time in the form @samp{@var{hhmmss.ss}}: hours, minutes, seconds
and milliseconds; and milliseconds;
@item Zone @item Zone
The difference between local time and UTC (GMT) in the form @var{Shhmm}: The difference between local time and UTC (GMT) in the form @var{Shhmm}:
sign, hours and minutes, e.g.@ @samp{-0500} (winter in New York); sign, hours and minutes, e.g.@: @samp{-0500} (winter in New York);
@item Values @item Values
The year, month of the year, day of the month, time difference in The year, month of the year, day of the month, time difference in
minutes from UTC, hour of the day, minutes of the hour and milliseconds minutes from UTC, hour of the day, minutes of the hour and milliseconds
of the second in successive values of the array. of the second in successive values of the array.
@end table @end table
On systems where a millisecond timer isn't available, the millisecond On systems where a millisecond timer isn't available, the millisecond
value is returned as zero. value is returned as zero.
...@@ -5453,6 +5454,10 @@ Some non-GNU implementations of Fortran provide this intrinsic as ...@@ -5453,6 +5454,10 @@ Some non-GNU implementations of Fortran provide this intrinsic as
only a function, not as a subroutine, or do not support the only a function, not as a subroutine, or do not support the
(optional) @var{Status} argument. (optional) @var{Status} argument.
On some systems (specifically SCO) it may be necessary to link the
`socket' library if you call this routine, i.e.@: add @samp{-lsocket}
to the @code{g77} arguments.
For information on other intrinsics with the same name: For information on other intrinsics with the same name:
@xref{HostNm Intrinsic (function)}. @xref{HostNm Intrinsic (function)}.
...@@ -5482,6 +5487,10 @@ Fills @var{Name} with the system's host name returned by ...@@ -5482,6 +5487,10 @@ Fills @var{Name} with the system's host name returned by
@code{gethostname(2)}, returning 0 on success or a non-zero error code @code{gethostname(2)}, returning 0 on success or a non-zero error code
(@code{ENOSYS} if the system does not provide @code{gethostname(2)}). (@code{ENOSYS} if the system does not provide @code{gethostname(2)}).
On some systems (specifically SCO) it may be necessary to link the
`socket' library if you call this routine, i.e.@: add @samp{-lsocket}
to the @code{g77} arguments.
For information on other intrinsics with the same name: For information on other intrinsics with the same name:
@xref{HostNm Intrinsic (subroutine)}. @xref{HostNm Intrinsic (subroutine)}.
...@@ -6625,7 +6634,7 @@ Description: ...@@ -6625,7 +6634,7 @@ Description:
The rightmost @var{Size} bits of the argument @var{I} The rightmost @var{Size} bits of the argument @var{I}
are shifted circularly @var{Shift} are shifted circularly @var{Shift}
places, i.e.@ the bits shifted out of one end are shifted into places, i.e.@: the bits shifted out of one end are shifted into
the opposite end. the opposite end.
No bits are lost. No bits are lost.
The unshifted bits of the result are the same as The unshifted bits of the result are the same as
......
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