Reads TTY response into request. The request delimiter is unescaped. The response is escaped before being stored in the request.
The function returns the following error codes:
E_BOUNDS
if the response is longer than REQUEST_RESPONSE_LEN
.E_READ
if reading from TTY failed.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tty_type), | intent(inout) | :: | tty |
TTY type. |
||
type(request_type), | intent(inout) | :: | request |
Request type. |