dm_tty_write Interface

public interface dm_tty_write

Generic TTY write function.

Calls

interface~~dm_tty_write~~CallsGraph interface~dm_tty_write dm_tty_write proc~dm_tty_write_bytes dm_tty_write_bytes interface~dm_tty_write->proc~dm_tty_write_bytes proc~dm_tty_write_request dm_tty_write_request interface~dm_tty_write->proc~dm_tty_write_request c_write c_write proc~dm_tty_write_bytes->c_write proc~dm_tty_write_request->interface~dm_tty_write proc~dm_ascii_unescape dm_ascii_unescape proc~dm_tty_write_request->proc~dm_ascii_unescape

Called by

interface~~dm_tty_write~~CalledByGraph interface~dm_tty_write dm_tty_write proc~dm_tty_write_request dm_tty_write_request interface~dm_tty_write->proc~dm_tty_write_request proc~dm_tty_write_request->interface~dm_tty_write

Module Procedures

public function dm_tty_write_bytes(tty, bytes, nbytes) result(rc)

Writes given string to TTY. Returns E_WRITE on error. The function may cause an access violation if nbytes is greater than the length of bytes. Returns E_WRITE on error.

Arguments

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

TTY type.

character(len=*), intent(in), target :: bytes

Bytes to send.

integer, intent(in), optional :: nbytes

Number of bytes to send.

Return Value integer

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

Writes given request to TTY. The function unescapes the request string. The function returns E_WRITE on error.

Arguments

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

TTY type.

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

Request type

Return Value integer