Scroll to navigation

SEQ_ESCAPE(9) The Linux VFS SEQ_ESCAPE(9)

NAME

seq_escape - print string into buffer, escaping some characters

SYNOPSIS

void seq_escape(struct seq_file * m, const char * s, const char * esc);

ARGUMENTS

struct seq_file * m

target buffer

const char * s

string

const char * esc

set of characters that need escaping

DESCRIPTION

Puts string into buffer, replacing each occurrence of character from esc with usual octal escape. Use seq_has_overflowed to check for errors.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12