pub unsafe extern "C" fn es_exec_arg(
event: &es_event_exec_t,
index: u32,
) -> es_string_token_tAvailable on macOS only.
Expand description
Get the argument at the specified position in the message containing an es_event_exec_t
event: Thees_event_exec_tbeing inspectedindex: Index of the argument to retrieve (starts from 0)- Returns an
es_string_token_tcontaining a pointer to the argument and its length. This is a zero-allocation operation. The returned pointer must not outliveexec_event.
Reading an an argument where index >= es_exec_arg_count() is undefined