Type Alias binder_ndk_sys::AIBinder_handleShellCommand

source ·
pub type AIBinder_handleShellCommand = Option<unsafe extern "C" fn(binder: *mut AIBinder, in_: c_int, out: c_int, err: c_int, argv: *mut *const c_char, argc: u32) -> binder_status_t>;
Expand description

Function to execute a shell command.

Available since API level 30.

\param binder the binder executing the command \param in input file descriptor, should be flushed, ownership is not passed \param out output file descriptor, should be flushed, ownership is not passed \param err error file descriptor, should be flushed, ownership is not passed \param argv array of null-terminated strings for command (may be null if argc is 0) \param argc length of argv array

\return binder_status_t result of transaction

Aliased Type§

enum AIBinder_handleShellCommand {
    None,
    Some(unsafe extern "C" fn(_: *mut AIBinder, _: i32, _: i32, _: i32, _: *mut *const i8, _: u32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut AIBinder, _: i32, _: i32, _: i32, _: *mut *const i8, _: u32) -> i32)

Some value of type T.