Backslash.3
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:2k
- '"
- '" Copyright (c) 1989-1993 The Regents of the University of California.
- '" Copyright (c) 1994-1996 Sun Microsystems, Inc.
- '"
- '" See the file "license.terms" for information on usage and redistribution
- '" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
- '"
- '" RCS: @(#) $Id: Backslash.3,v 1.4 2002/07/01 18:24:38 jenglish Exp $
- '"
- .so man.macros
- .TH Tcl_Backslash 3 "8.1" Tcl "Tcl Library Procedures"
- .BS
- .SH NAME
- Tcl_Backslash - parse a backslash sequence
- .SH SYNOPSIS
- .nf
- fB#include <tcl.h>fR
- .sp
- char
- fBTcl_BackslashfR(fIsrc, countPtrfR)
- .SH ARGUMENTS
- .AS char *countPtr
- .AP char *src in
- Pointer to a string starting with a backslash.
- .AP int *countPtr out
- If fIcountPtrfR isn't NULL, fI*countPtrfR gets filled
- in with number of characters in the backslash sequence, including
- the backslash character.
- .BE
- .SH DESCRIPTION
- .PP
- .VS 8.1
- The use of fBTcl_BackslashfR is deprecated in favor of
- fBTcl_UtfBackslashfR.
- .PP
- 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.
- .VE
- fBTcl_BackslashfR modifies fI*countPtrfR to contain the number of
- characters in the backslash sequence.
- .PP
- 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
- fBTcl_BackslashfR.
- .VS 8.1 br
- .SH "SEE ALSO"
- Tcl(n), Tcl_UtfBackslash(3)
- .VE
- .SH KEYWORDS
- backslash, parse