1AUDIT_VALUE_NEEDS_ENCODING(3)   Linux Audit API  AUDIT_VALUE_NEEDS_ENCODING(3)
2
3
4

NAME

6       audit_value_needs_encoding - check a string to see if it needs encoding
7

SYNOPSIS

9       #include <libaudit.h>
10
11       int audit_value_needs_encoding(const char *str, unsigned int size);
12

DESCRIPTION

14       audit_value_needs_encoding()  checks a string to see if it needs encod‐
15       ing. Specifically, this function checks if the string contains a space,
16       a  double-quote, or a control character.  str is the string to check if
17       encoding is needed.  size is the length of str.
18
19

RETURN VALUE

21       The return value if encoding is needed is 1. If not needed is 0.
22
23

SEE ALSO

25       audit_encode_nv_string(3).
26
27

AUTHOR

29       Steve Grubb
30
31
32
33Red Hat                            Apr 2021      AUDIT_VALUE_NEEDS_ENCODING(3)
Impressum