---
name: "auparse_node_compare"
section: "3"
platform: "linux"
package: "audit"
version: "4.2.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/auparse_node_compare"
---

# auparse\_node\_compare(3)

compares node name values

## NAME

auparse\_node\_compare - compares node name values

## SYNOPSIS

**#include \<auparse.h\>**

**int auparse\_node\_compare(const au\_event\_t \****e1,***const***au\_event\_t***\*"***e2);"*

## DESCRIPTION

auparse\_node\_compare compares the node name values of 2 events.

## RETURN VALUE

Returns -1, 0, or 1 respectively depending on whether e2 is less than, equal to, or greater than e1. Since this is a string compare, it probably only matter that they are equal or not equal.

## SEE ALSO

[**auparse\_get\_timestamp**(3)](/auparse_get_timestamp/3.md).

## AUTHOR

Steve Grubb
