Backslash(3)

Backslash3

Parse a backslash sequence

Usage

#include <tcl.h>

char
Tcl_Backslash(src, countPtr)

Arguments

Pointer to a string starting with a backslash. If countPtr is not NULL, *countPtr gets filled in with number of characters in the backslash sequence, including the backslash character.

Overview

The use of Tcl_Backslash is deprecated in favor of Tcl_UtfBackslash.

This is a utility procedure provided for backwards compatibility with non-internationalized Tcl extensions. It parses a backslash sequence and returns the low byte of the Unicode character corresponding to the sequence. Tcl_Backslash modifies *countPtr to contain the number of characters in the backslash sequence.

See the Tcl manual entry for information on the valid backslash sequences. All of the sequences described in the Tcl manual entry are supported by Tcl_Backslash.

Keywords

backslash, parse

Releases

163 releases since Mac OS X 10.0; the text changed 4 times.

  1. 10.0–10.2.8
  2. 10.3–10.3.9
  3. 10.4–10.4.2
  4. 10.4.3–10.5.8
  5. 10.6–26.5

From tcl 152 in macOS 26.5. Parsed by carta from the page's man source.