dm_pipe_write Function

public function dm_pipe_write(pipe, str) result(rc)

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.

Arguments

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

Pipe type.

character(len=*), intent(in) :: str

String to write to the pipe.

Return Value integer


Calls

proc~~dm_pipe_write~~CallsGraph proc~dm_pipe_write dm_pipe_write c_fputs c_fputs proc~dm_pipe_write->c_fputs proc~dm_pipe_connected dm_pipe_connected proc~dm_pipe_write->proc~dm_pipe_connected

Called by

proc~~dm_pipe_write~~CalledByGraph proc~dm_pipe_write dm_pipe_write proc~dm_plot_lines dm_plot_lines proc~dm_plot_lines->proc~dm_pipe_write