Tcl_Backslash(3)
πΈ NAME πΈ
okay bestie, this is the Tcl_Backslash(3) page β and the whole vibe is Tcl_Backslash - parse a backslash sequence. Itβs a Tcl library procedure, and yes, itβs giving βlegacy but still iconicβ energy. β¨
β¨ SYNOPSIS β¨
#include <tcl.h>
char
Tcl_Backslash(src, countPtr)
π ARGUMENTS π
const char *src(in) β pointer to a string that starts with a backslash. Like, it literally begins with\, no cap.int *countPtr(out) β ifcountPtris notNULL, then*countPtrgets filled in with the number of characters in the backslash sequence, including the backslash character itself. Count it, bestie.
π DESCRIPTION π
Okay, first things first, important tea: the use of Tcl_Backslash is deprecated in favor of Tcl_UtfBackslash. So itβs still here, but itβs lowkey in its legacy era. Donβt pretend we didnβt warn you. π
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 info on the valid backslash sequences. All of the sequences described in the Tcl manual entry are supported by Tcl_Backslash. Slay, compatibility icon. π
π SEE ALSO π
π KEYWORDS π
backslashparse
cute sign-off: this page is from Tcl 8.1, manual name Tcl_Backslash(3), and the footer doesnβt give a date β so thatβs the source/version/date sitch, bestie ππ«Ά
π¦ where this page comes from
- alpine 3.22: tcl-doc 8.6.16-r0 Β· TCL
- alpine 3.23: tcl-doc 8.6.17-r0 Β· TCL
- alpine 3.24: tcl-doc 8.6.17-r1 Β· TCL
- arch rolling: tcl 8.6.16-1 Β· TCL
- centos-stream 10: tcl-doc 1:8.6.13-4.el10 Β· TCL AND GPL-3.0-or-later WITH bison-exception-2.2 AND BSD-3-Clause
- opensuse-leap 16.0: tcl-devel 8.6.15-160000.2.2 Β· TCL
- opensuse-leap 16.0: tcl-devel 8.6.15-160000.2.2 Β· TCL
- opensuse-leap 16.0: tcl-devel 8.6.15-160000.2.2 Β· TCL
- opensuse-leap 16.0: tcl-devel 8.6.15-160000.2.2 Β· TCL
- Copyright (c) 1989-1993 The Regents of the University of California
- Copyright (c) 1994-1996 Sun Microsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms