Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)

236 Chapter9
Intrinsics Reference (cont)
FGETINFO
aoptions 16-bit unsigned integer by reference
(optional)
Returns information about the
aoption
characteristics
that are set through the FOPEN or HPFOPEN call.
The bit settings that designate each of these
characteristics are listed below. Note that not all of the
aoptions are meaningful for files on asynchronous
devices.
Bits (12:4)—Access type
aoption
.
The type of access allowed users of the file. Refer to
Table 9-2 for a summary of how these settings apply to
terminals and printers.
=0000 Read access only.
=0001 Write access only.
=0010 Write access only, but previous data in
file not deleted.
=0011 Append access only.
=0100 Input/output access.
=0101 Update access.
=0110 Execute access.
=0111 Execute/read access.
=1000 No access.
Bit (11:1)—Multirecord
aoption
.
Allows a block of data that exceeds the file’s physical
record size to be transmitted as several records. This
option is available for use with terminals, but not for
printers.
=0 Select non-multirecord mode.
=1 Select multirecord mode.
Bit (10:1)—Dynamic locking
aoption
Not meaningful for asynchronous devices.
Bit (8:2)—Exclusive access
aoption
Specifies whether you have continuous exclusive access
to this file. This option does not apply to printers.
=00 Default.
=01 Exclusive access.
=10 Semi-exclusive access.