Sets timeout of given TTY. A timeout of 0 results in blocking read without timeout. The minimum timeout is 0 seconds, the maximum is 25 seconds.
The function returns the following error codes:
E_INVALID
if TTY is not connected.E_SYSTEM
if system calls failed.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tty_type), | intent(inout) | :: | tty |
TTY type. |
||
integer, | intent(in) | :: | timeout |
Timeout in seconds. |