Writes bytes to pipe and adds new-line character if newline
is not
.false.
. The input string will not be trimmed.
The function returns the following error codes:
E_INVALID
if pipe is not connected or read-only.E_WRITE
if writing failed.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(pipe_type), | intent(inout) | :: | pipe |
Pipe type. |
||
character(len=*), | intent(in) | :: | input |
Bytes to write to the pipe. |
||
logical, | intent(in), | optional | :: | newline |
Add new-line character. |