Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)
Chapter 8 223
Intrinsics Reference
FDEVICECONTROL
72 Return PAD line speed.
This directive will return the current line speed of a
terminal connection, including PAD connections. The
line speed in characters per second will be returned in
buffer.
NOTE
When the connection is first established, the DTC sends the line speed
to the host. If the user changes the line speed locally (between the PAD
and the terminal), this FDEVICECONTROL will not reflect the change.
73 Set FCLOSE timeout value.
This directive establishes a timeout value for an
FCLOSE request. If the timer expires before the close is
terminated successfully, the connection is aborted.
This call is not supported for use with Telnet/iX or VT.
The Telnet/iX or VT driver will return a condition code
even though no device control action will take place.
WARNING
Data loss can occur when the connection is aborted due to the
timer expiration.
This FDEVICECONTROL should be called immediately before
the FCLOSE. Sending any I/O commands to the LDEV after this
FDEVICECONTROL and before the FCLOSE will cause the port
to become inoperative.
buffer value:
1–2147 timer is set to value in seconds; values
less than 1 or greater than 2147 are
invalid
These are the error conditions returned in the
fserrorcode field:
68 internal error—most likely a
parameter error; verify that timer
value is within range 1–2147 seconds
32 software abort—timer expired and
connection aborted, data loss may have
occurred
0 successful—connection closed normally
This call is not supported for use with DTC Telnet,
Telnet/iX or VT. The driver will return a condition code
even though no device control action will take place.
74 Suppress the last form feed.
For printers only.