[][src]Type Definition lxc_sys2::lxc_attach_exec_t

type lxc_attach_exec_t = extern "C" fn(payload: *mut c_void) -> c_int;

LXC attach function type.

Function to run in container


Parameters

payload lxc_attach_command_t to run.


Returns

Function should return 0 on success, and any other value to denote failure.


version: 1.0.0