HP Fortran Programmer's Reference (September 2007)

BLAS and libU77 libraries
libU77 routines
Chapter 12 649
FALLOC Allocates array space in memory.
SUBROUTINE FALLOC (
nelem
,
elsize
,
clean
,
basevec
,
addr
,
offset
)
INTEGER ::
nelem
,
elsize
,
clean
,
addr
,
offset
basevec
must be declared as an array whose elements are
elsize
bytes in
size. FALLOC allocates space for
basevec
to contain
nelem
elements.
FDATE Returns the date and time as an ASCII string; available as a subroutine:
SUBROUTINE FDATE (
string
)
CHARACTER(LEN=*) ::
string
And as a function:
CHARACTER(LEN=*) :: FUNCTION FDATE()
FGETC Retrieves a character from a file specified by an HP Fortran logical unit.
INTEGER FUNCTION FGETC (
lunit
,
char
)
INTEGER ::
lunit
CHARACTER
char
FLUSH Flushes file for specified unit number.
SUBROUTINE FLUSH (
unit
)
INTEGER ::
unit
FORK Creates a copy of the calling process.
INTEGER FUNCTION FORK()
FPUTC Writes a character to the file specified by an HP Fortran logical unit,
bypassing normal HP Fortran I/O.
INTEGER FUNCTION FPUTC (
lunit
,
char
)
INTEGER ::
lunit
CHARACTER ::
char
FREE Releases memory previously allocated with MALLOC or FALLOC.
SUBROUTINE FREE (
addr
)
INTEGER ::
addr
Table 12-3 libU77 routines (Continued)
Name Description and signature