Generic TTY write function.
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.
Type | Intent | Optional | 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. |
Writes given request to TTY. The function unescapes the request
string. The function returns E_WRITE
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tty_type), | intent(inout) | :: | tty |
TTY type. |
||
type(request_type), | intent(inout) | :: | request |
Request type |