dm_fifo_read Function

public function dm_fifo_read(fifo, bytes, error) result(nbytes)

Reads from named pipe and returns number of bytes read. The read string is returned in bytes. Argument error is set to E_NULL if fifo is not connected.

Arguments

Type IntentOptional Attributes Name
type(fifo_type), intent(inout) :: fifo

FIFO type.

character(len=:), intent(out), allocatable :: bytes

Bytes read from FIFO.

integer, intent(out), optional :: error

Error code.

Return Value integer(kind=i8)


Calls

proc~~dm_fifo_read~~CallsGraph proc~dm_fifo_read dm_fifo_read c_fgetc c_fgetc proc~dm_fifo_read->c_fgetc