Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)
238 Chapter9
Intrinsics Reference (cont)
FGETINFO
Returns the logical record size associated with the file.
This parameter is subject to record size limits imposed
by MPE/V based systems, and is maintained only for
backward compatibility.
If the record size of the specified file exceeds MPE/V
limits, a zero is returned.
devtype 16-bit signed integer by reference
(optional)
Returns the type and subtype of the device being used,
where bits (0:8) indicate device subtype, and bits (8:8)
indicate device type. Note that subtypes do not apply
for terminals and printers.
If the file is not spooled the
devtype
returned is actual.
The same is true if a spool file was opened via the
logical device number. However, if an output file is
spooled and was opened by device class name,
devtype
will return information about the first device in the
class, which may not be the device actually being used.
ldevnum 16-bit unsigned integer by reference
(optional)
Returns the logical device number of the port (and
device) associated with the file.
hdaddr 16-bit unsigned integer by reference
(optional)
Returns 2048. This value is meaningless on MPE/iX
based systems; it is maintained only for backward
compatibility.
filecode 16-bit signed integer by reference
(optional)
Not meaningful for asynchronous devices.
lrecptr 32-bit signed integer by reference
(optional)
Not meaningful for asynchronous devices.
EOF 32-bit signed integer by reference
(optional)
Not meaningful for asynchronous devices.
filelimit 32-bit signed integer by reference
(optional)
Not meaningful for asynchronous devices.