| 1 |
.TH "AUDIT_NAME_TO_FSTYPE" "3" "Mar 2022" "Red Hat" "Linux Audit API" |
| 2 |
.SH NAME |
| 3 |
audit_name_to_fstype \- Convert the fstype name to the numeric fstype value |
| 4 |
.SH "SYNOPSIS" |
| 5 |
.nf |
| 6 |
.B #include <libaudit.h> |
| 7 |
.PP |
| 8 |
.BI "int audit_name_to_fstype(const char " *name ); |
| 9 |
.fi |
| 10 |
.SH "DESCRIPTION" |
| 11 |
.BR audit_name_to_fstype () |
| 12 |
converts the fstype name ("debugfs" or "tracefs") to the numeric fstype value (0x64626720 or 0x74726163). |
| 13 |
.I name |
| 14 |
is the fstype name. |
| 15 |
|
| 16 |
.SH "RETURN VALUE" |
| 17 |
|
| 18 |
Returns -1 if an name occurs; otherwise, the return value is the numeric fstype value. |
| 19 |
|
| 20 |
.SH "SEE ALSO" |
| 21 |
|
| 22 |
.BR audit_fstype_to_name (3), |
| 23 |
|
| 24 |
.SH AUTHOR |
| 25 |
Steve Grubb |