---
name: "auparse_get_field_num"
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_get_field_num"
---

# auparse\_get\_field\_num(3)

get current field cursor location

## NAME

auparse\_get\_field\_num - get current field cursor location

## SYNOPSIS

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

**unsigned int auparse\_get\_field\_num(const auparse\_state\_t \****au);"*

## DESCRIPTION

auparse\_get\_field\_num will retrieve the internal library cursors current field location in the current record. Fields within the same record are numbered starting from 0. This is generally not needed but there are some cases where one may want to know the exact field being looked at.

## RETURN VALUE

Returns the current field cursor location.

## SEE ALSO

[**auparse\_goto\_field\_num**(3)](/auparse_goto_field_num/3.md),[**auparse\_get\_record\_num**(3)](/auparse_get_record_num/3.md).

## AUTHOR

Steve Grubb
