diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-04 15:12:19 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-04 15:12:19 (GMT) |
commit | 6443a1db3be2198d76bc754d9a0f5a9c08683342 (patch) | |
tree | b24ba1d27f6f2ff0048046b18e73defec6854a56 /doc/binary.n | |
parent | bf23a021385451ff52770191acec3f55d5c8575a (diff) | |
parent | cb5c9f4f89b6e7242ba07f84e278d35f202d7edd (diff) | |
download | tcl-6443a1db3be2198d76bc754d9a0f5a9c08683342.zip tcl-6443a1db3be2198d76bc754d9a0f5a9c08683342.tar.gz tcl-6443a1db3be2198d76bc754d9a0f5a9c08683342.tar.bz2 |
Merge 9.0
Diffstat (limited to 'doc/binary.n')
-rw-r--r-- | doc/binary.n | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/binary.n b/doc/binary.n index 0e8b28e..4a5d6c8 100644 --- a/doc/binary.n +++ b/doc/binary.n @@ -1,6 +1,6 @@ '\" -'\" Copyright (c) 1997 by Sun Microsystems, Inc. -'\" Copyright (c) 2008 by Donal K. Fellows +'\" Copyright (c) 1997 Sun Microsystems, Inc. +'\" Copyright (c) 2008 Donal K. Fellows '\" '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. @@ -762,6 +762,15 @@ high-to-low order within each byte. For example, will return \fB2\fR with \fB01110\fR stored in \fIvar1\fR and \fB1000011100000101\fR stored in \fIvar2\fR. .RE +.IP \fBC\fR 5 +This form is similar to \fBA\fR, except that it scans the data from start +and terminates at the first null (C string semantics). For example, +.RS +.CS +\fBbinary scan\fR "abc\e000efghi" C* var1 +.CE +will return \fB1\fR with \fBabc\fR stored in \fIvar1\fR. +.RE .IP \fBH\fR 5 The data is turned into a string of \fIcount\fR hexadecimal digits in high-to-low order represented as a sequence of characters in the set |