Description:
Read a record from the file with the
specified file descriptor. Unlike FIO_READ, this routine does not return the ‘used length’
of the buffer and is therefore faster.
Invocation
CALL FIO_READF( FD, BUF, STATUS )
Arguments
FD = INTEGER (Given)
The file descriptor.
BUF = CHARACTER
(
)
(Returned)
Variable to receive the record.
STATUS = INTEGER (Given and Returned)
The global
status.
Notes:
FIO_READF reflects the behaviour of the underlying Fortran I/O system so identical
behaviour on different platforms cannot be guaranteed. In particular, platforms differ in the way they
handle records which are terminated by EOF rather than newline. Supported platforms currently
behave as follows:
| Buffer | STATUS |
Alpha: | Trailing spaces added | SAI__OK |
Solaris: | No trailing spaces added | FIO__EOF |
Linux: | No trailing spaces added | FIO__EOF |
Copyright © 2000 Council for the Central Laboratory of the Research Councils