carta
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.

History

  • Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)

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