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).