Signal

FridaDevice::output

Declaration

void
output (
  FridaDevice* self,
  guint pid,
  gint fd,
  GBytes* data,
  gpointer user_data
)

Description [src]

Emitted when a spawned process writes to its standard output or error.

Default handler:

Parameters

pid

Type: guint

The process ID.

fd

Type: gint

The file descriptor written to (1 for stdout, 2 for stderr).

data

Type: GBytes

The bytes written, or an empty buffer on EOF.

The data is owned by the caller of the function.