HP Fortran Programmer's Reference (September 2007)

BLAS and libU77 libraries
libU77 routines
Chapter 12648
ALARM Executes a subroutine after a specified time.
INTEGER FUNCTION ALARM (
time
,
proc
)
INTEGER ::
time
EXTERNAL
proc
CHDIR Changes the default directory.
INTEGER FUNCTION CHDIR(
dir_name
)
CHARACTER(LEN=*) ::
dir_name
CHMOD Changes the mode of a file.
INTEGER FUNCTION CHMOD (
name
,
mode
)
CHARACTER(LEN=*) ::
name
,
mode
CTIME Converts a system time to a 24-character ASCII string.
CHARACTER(LEN=*) FUNCTION CTIME (
stime
)
INTEGER ::
stime
DATEY2K Designed to replace the f90 DATE instrinsic. Its function and arguments are
the same as the date intrinsic’s ecept that the returned string contains a
four-digit year in mm-dd-yyyy format instead of a two-digit year in
mm-dd--yy format.
SUBROUTINE DATEY2K(DATE)
CHARACTER*11 DATE
The +U77 flag (described in “+U77 option” on page 643) must be used with
DATEY2K.
DTIME Returns elapsed execution time since the last call to dtime or since the start
of execution on the first call.
REAL FUNCTION DTIME(
tarray
)
REAL ::
tarray
(2)
ETIME Returns the elapsed execution time, in seconds, for the calling process.
REAL FUNCTION ETIME (
tarray
)
REAL ::
tarray
(2)
Table 12-3 libU77 routines (Continued)
Name Description and signature