dm_tty_read_request Function

public function dm_tty_read_request(tty, request) result(rc)

Uses

  • proc~~dm_tty_read_request~~UsesGraph proc~dm_tty_read_request dm_tty_read_request module~dm_ascii dm_ascii proc~dm_tty_read_request->module~dm_ascii module~dm_request dm_request proc~dm_tty_read_request->module~dm_request module~dm_error dm_error module~dm_request->module~dm_error module~dm_id dm_id module~dm_request->module~dm_id module~dm_kind dm_kind module~dm_request->module~dm_kind module~dm_response dm_response module~dm_request->module~dm_response module~dm_string dm_string module~dm_request->module~dm_string module~dm_time dm_time module~dm_request->module~dm_time module~dm_util dm_util module~dm_request->module~dm_util module~dm_error->module~dm_ascii module~dm_error->module~dm_kind iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env module~dm_response->module~dm_error module~dm_response->module~dm_id module~dm_response->module~dm_kind module~dm_response->module~dm_util module~dm_string->module~dm_error module~dm_string->module~dm_kind module~dm_time->module~dm_error module~dm_time->module~dm_kind module~dm_time->module~dm_util module~dm_util->module~dm_error module~dm_util->module~dm_kind

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.

Arguments

Type IntentOptional Attributes Name
type(tty_type), intent(inout) :: tty

TTY type.

type(request_type), intent(inout) :: request

Request type.

Return Value integer


Calls

proc~~dm_tty_read_request~~CallsGraph proc~dm_tty_read_request dm_tty_read_request interface~dm_tty_read dm_tty_read proc~dm_tty_read_request->interface~dm_tty_read proc~dm_ascii_escape dm_ascii_escape proc~dm_tty_read_request->proc~dm_ascii_escape proc~dm_ascii_unescape dm_ascii_unescape proc~dm_tty_read_request->proc~dm_ascii_unescape interface~dm_tty_read->proc~dm_tty_read_request proc~dm_tty_read_bytes dm_tty_read_bytes interface~dm_tty_read->proc~dm_tty_read_bytes proc~dm_is_error dm_is_error proc~dm_tty_read_bytes->proc~dm_is_error proc~dm_tty_read_byte dm_tty_read_byte proc~dm_tty_read_bytes->proc~dm_tty_read_byte c_read c_read proc~dm_tty_read_byte->c_read

Called by

proc~~dm_tty_read_request~~CalledByGraph proc~dm_tty_read_request dm_tty_read_request interface~dm_tty_read dm_tty_read proc~dm_tty_read_request->interface~dm_tty_read interface~dm_tty_read->proc~dm_tty_read_request