Debian Codegraph @

doc/Backslash.3

raw
1 '\"
2 '\" Copyright (c) 1989-1993 The Regents of the University of California.
3 '\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
4 '\"
5 '\" See the file "license.terms" for information on usage and redistribution
6 '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7 '\"
8 .TH Tcl_Backslash 3 "8.1" Tcl "Tcl Library Procedures"
9 .so man.macros
10 .BS
11 .SH NAME
12 Tcl_Backslash \- parse a backslash sequence
13 .SH SYNOPSIS
14 .nf
15 \fB#include <tcl.h>\fR
16 .sp
17 char
18 \fBTcl_Backslash\fR(\fIsrc, countPtr\fR)
19 .SH ARGUMENTS
20 .AS char *countPtr out
21 .AP "const char" *src in
22 Pointer to a string starting with a backslash.
23 .AP int *countPtr out
24 If \fIcountPtr\fR is not NULL, \fI*countPtr\fR gets filled
25 in with number of characters in the backslash sequence, including
26 the backslash character.
27 .BE
28
29 .SH DESCRIPTION
30 .PP
31 The use of \fBTcl_Backslash\fR is deprecated in favor of
32 \fBTcl_UtfBackslash\fR.
33 .PP
34 This is a utility procedure provided for backwards compatibility with
35 non-internationalized Tcl extensions. It parses a backslash sequence and
36 returns the low byte of the Unicode character corresponding to the sequence.
37 \fBTcl_Backslash\fR modifies \fI*countPtr\fR to contain the number of
38 characters in the backslash sequence.
39 .PP
40 See the Tcl manual entry for information on the valid backslash sequences.
41 All of the sequences described in the Tcl manual entry are supported by
42 \fBTcl_Backslash\fR.
43 .SH "SEE ALSO"
44 Tcl(n), Tcl_UtfBackslash(3)
45
46 .SH KEYWORDS
47 backslash, parse