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. |