Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\string_helpers.h Create Date:2022-07-28 06:11:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:string_escape_str

Proto:static inline int string_escape_str(const char *src, char *dst, size_t sz, unsigned int flags, const char *only)

Type:int

Parameter:

TypeParameterName
const char *src
char *dst
size_tsz
unsigned intflags
const char *only
69  Return string_escape_mem(src, strlen(src), dst, sz, flags, only)
Caller
NameDescribe
seq_escapeseq_escape - print string into buffer, escaping some characters*@m: target buffer*@s: string*@esc: set of characters that need escaping* Puts string into buffer, replacing each occurrence of character from*@esc with usual octal escape.