1SEQ_ESCAPE(9) The Linux VFS SEQ_ESCAPE(9)
2
3
4
6 seq_escape - print string into buffer, escaping some characters
7
9 int seq_escape(struct seq_file * m, const char * s, const char * esc);
10
12 m
13 target buffer
14
15 s
16 string
17
18 esc
19 set of characters that need escaping
20
22 Puts string into buffer, replacing each occurrence of character from
23 esc with usual octal escape. Returns 0 in case of success, -1 - in case
24 of overflow.
25
27Kernel Hackers Manual 3.10 June 2019 SEQ_ESCAPE(9)