1Tcl_Backslash(3) Tcl Library Procedures Tcl_Backslash(3)
2
3
4
5______________________________________________________________________________
6
8 Tcl_Backslash - parse a backslash sequence
9
11 #include <tcl.h>
12
13 char
14 Tcl_Backslash(src, countPtr)
15
17 const char *src (in) Pointer to a string starting with a back‐
18 slash.
19
20 int *countPtr (out) If countPtr is not NULL, *countPtr gets
21 filled in with number of characters in the
22 backslash sequence, including the back‐
23 slash character.
24______________________________________________________________________________
25
26
28 The use of Tcl_Backslash is deprecated in favor of Tcl_UtfBackslash.
29
30 This is a utility procedure provided for backwards compatibility with
31 non-internationalized Tcl extensions. It parses a backslash sequence
32 and returns the low byte of the Unicode character corresponding to the
33 sequence. Tcl_Backslash modifies *countPtr to contain the number of
34 characters in the backslash sequence.
35
36 See the Tcl manual entry for information on the valid backslash se‐
37 quences. All of the sequences described in the Tcl manual entry are
38 supported by Tcl_Backslash.
39
41 Tcl(n), Tcl_UtfBackslash(3)
42
43
45 backslash, parse
46
47
48
49Tcl 8.1 Tcl_Backslash(3)