auparse_get_timestamp(3)

auparse_get_timestamp3

Access timestamp of the event

Usage

#include <auparse.h>

const au_event_t * auparse_get_timestamp(const auparse_state_t *au);"

Overview

auparse_get_timestamp provides an accessor function for the event's timestamp data structure. The data structure is as follows:

typedef struct
{
        time_t sec;             // Event seconds
        unsigned int milli;     // millisecond of the timestamp
        unsigned long serial;   // Serial number of the event
        const char *host;       // Machine's node name
} au_event_t;

Return value

Returns NULL if an error occurs; otherwise, a valid pointer to the data.

Releases

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

  1. 5.0–12
  2. 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.