audit_name_to_fstype(3)

audit_name_to_fstype3

Convert the fstype name to the numeric fstype value

Usage

#include <libaudit.h>

int audit_name_to_fstype(const char *name);

Overview

audit_name_to_fstype() converts the fstype name ("debugfs" or "tracefs") to the numeric fstype value (0x64626720 or 0x74726163). name is the fstype name.

Return value

Returns -1 if an name occurs; otherwise, the return value is the numeric fstype value.

Releases

Unchanged in 3 releases since Debian 12 (Bookworm).

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