Writes to pipe. Trims the string, adds new line and null-termination.
The function returns the following error codes:
E_INVALID
if pipe is not associated or access mode is not PIPE_RDONLY
.E_SYSTEM
if system call failed.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(pipe_type), | intent(inout) | :: | pipe |
Pipe type. |
||
character(len=*), | intent(in) | :: | str |
String to write to the pipe. |