AUDIT\_FSTYPE\_TO\_NAME(3) Linux Audit API AUDIT\_FSTYPE\_TO\_NAME(3)

# [NAME](#NAME)

audit\_fstype\_to\_name - Convert the numeric fstype value to the fstype name

# [SYNOPSIS](#SYNOPSIS)

```
#include <libaudit.h>
```

```
const char *audit_fstype_to_name(int fstype);
```

# [DESCRIPTION](#DESCRIPTION)

**audit\_fstype\_to\_name**() converts the numeric fstype value (0x64626720 or 0x74726163) to the fstype name ("debugfs" or "tracefs"). *fstype* is the numeric fstype value.

# [RETURN VALUE](#RETURN_VALUE)

Returns NULL if an error occurs; otherwise, the return value is the fstype name.

# [SEE ALSO](#SEE_ALSO)

[**audit\_name\_to\_fstype**(3)](/man/os/audit/audit_name_to_fstype.3),

# [AUTHOR](#AUTHOR)

Steve Grubb

Mar 2022 Red Hat

---

Document: audit_fstype_to_name(3) from audit 4.2.1-r3 (Chainguard OS)
Source: https://github.com/linux-audit/audit-userspace
