dm_tty_set Subroutine

public pure elemental subroutine dm_tty_set(tty, path, access, baud_rate, byte_size, stop_bits, parity, timeout, dtr, rts, blocking)

TTY setter routine.

Arguments

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

TTY type.

character(len=*), intent(in), optional :: path

TTY/PTY path.

integer, intent(in), optional :: access

Access mode enumerator.

integer, intent(in), optional :: baud_rate

Baud rate enumerator.

integer, intent(in), optional :: byte_size

Byte size enumerator.

integer, intent(in), optional :: stop_bits

Stop bits enumerator.

integer, intent(in), optional :: parity

Parity enumerator.

integer, intent(in), optional :: timeout

Read timeout in seconds.

logical, intent(in), optional :: dtr

Data Terminal Ready (DTR).

logical, intent(in), optional :: rts

Request To Send (RTS).

logical, intent(in), optional :: blocking

Blocking read.