dm_pipe_write2 Function

public function dm_pipe_write2(pipe, input, n) result(rc)

Writes to pipe (binary) and returns the number of bytes written in n. The input string is not trimmed.

The function returns the following error codes:

  • E_INVALID if pipe is not connected or read-only.
  • E_WRITE if writing failed.

Arguments

Type IntentOptional Attributes Name
type(pipe_type), intent(inout) :: pipe

Bi-directional pipe.

character(len=*), intent(in), target :: input

Bytes to write to the pipe.

integer(kind=i8), intent(out), optional :: n

Bytes written.

Return Value integer


Calls

proc~~dm_pipe_write2~~CallsGraph proc~dm_pipe_write2 dm_pipe_write2 c_fwrite c_fwrite proc~dm_pipe_write2->c_fwrite proc~dm_pipe_is_connected dm_pipe_is_connected proc~dm_pipe_write2->proc~dm_pipe_is_connected

Called by

proc~~dm_pipe_write2~~CalledByGraph proc~dm_pipe_write2 dm_pipe_write2 proc~dm_plot_lines dm_plot_lines proc~dm_plot_lines->proc~dm_pipe_write2