diff options
author | Andy Shevchenko <[email protected]> | 2021-06-30 18:55:37 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-07-01 11:06:05 -0700 |
commit | e7ed4a3b922b04d2042cd2e19d1096fa457b6c11 (patch) | |
tree | 4b5003a61701a277906f7ce5224d5f44359b7e13 /include/linux/string_helpers.h | |
parent | 1d31aa172a4e6728918a06ee7f1d6bcb7507172c (diff) |
seq_file: add seq_escape_str() as replica of string_escape_str()
In some cases we want to escape characters from NULL-terminated strings.
Add seq_escape_str() as replica of string_escape_str() for that.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Chuck Lever <[email protected]>
Cc: "J. Bruce Fields" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/string_helpers.h')
0 files changed, 0 insertions, 0 deletions