auparse_next_record(3)

auparse_next_record3

Move record cursor

Usage

#include <auparse.h>

int auparse_next_record(auparse_state_t *au);"

Overview

auparse_next_record will move the internal library cursors to point to the next record of the current event. You should not call this function from a feed interface callback function. Doing so will deadlock the code. In that scenario, you should check the number of records in the current event with auparse_get_num_records and only call this if there are more records.

Return value

Returns -1 if an error occurs, 0 if no more records in current event, or 1 for success.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0–6.0
  2. 7–13
  3. Arch

Author

Steve Grubb

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