1MANGLE_PATH(9)                   The Linux VFS                  MANGLE_PATH(9)
2
3
4

NAME

6       mangle_path - mangle and copy path to buffer beginning
7

SYNOPSIS

9       char * mangle_path(char * s, char * p, char * esc);
10

ARGUMENTS

12       s
13           buffer start
14
15       p
16           beginning of path in above buffer
17
18       esc
19           set of characters that need escaping
20

DESCRIPTION

22       Copy the path from p to s, replacing each occurrence of character from
23       esc with usual octal escape. Returns pointer past last written
24       character in s, or NULL in case of failure.
25
27Kernel Hackers Manual 2.6.         June 2019                    MANGLE_PATH(9)
Impressum