ausearch_cur_event(3)

ausearch_cur_event3

Check if the current event meets search criteria

Usage

#include <auparse.h>

int ausearch_cur_event(auparse_state_t *au);"

Overview

ausearch_cur_event will scan the input source and evaluate whether any record in the current event contains the data being searched for. Evaluation is done at the record level. If a match is found, the cursor is repositioned; otherwise, it remains on the last successfully parsed record within the current event.

Return value

Returns -1 if an error occurs, 0 if no matches, and 1 for success.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

Author

Attila Lakatos

From audit 4.2.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.