seq_escape(9)

seq_escape9

Print string into buffer, escaping some characters

Usage

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

Arguments

m

target buffer

s

string

esc

set of characters that need escaping

Overview

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

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.