---
name: "seq_escape"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/seq_escape"
---

# seq\_escape(9)

print string into buffer, escaping some characters

## 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

*m*

target buffer

*s*

string

*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
