.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SEQ_ESCAPE" "9" "09 October 2005" "" "" .SH NAME seq_escape \- print string into buffer, escaping some characters .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int seq_escape (struct seq_file * \fIm\fB, const char * \fIs\fB, const char * \fIesc\fB); \fR .SH "ARGUMENTS" .TP \fB\fIm\fB\fR target buffer .TP \fB\fIs\fB\fR string .TP \fB\fIesc\fB\fR set of characters that need escaping .SH "DESCRIPTION" .PP Puts string into buffer, replacing each occurrence of character from \fIesc\fR with usual octal escape. Returns 0 in case of success, -1 - in case of overflow.