Reads line string from pipe to buffer output and removes new-line
and null-termination.
The function returns the following error codes:
E_INVALID if pipe is not connected or write-only.E_READ if reading from pipe failed.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(pipe_type), | intent(inout) | :: | pipe |
Bi-directional pipe. |
||
| character(len=*), | intent(inout) | :: | output |
Output buffer. |
||
| integer, | intent(out), | optional | :: | n |
Bytes read. |