diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2020-10-26 10:53:29 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2020-10-26 10:53:29 (GMT) |
commit | 31145f178e965c316eb97dcb24fe34779c6bd50e (patch) | |
tree | c0e528ff9b916f488ffb22ebb1495ed1279ae4a5 /doc/binary.n | |
parent | 861d8f512fd6d21d600999faa12dde6bd363bef0 (diff) | |
download | tcl-31145f178e965c316eb97dcb24fe34779c6bd50e.zip tcl-31145f178e965c316eb97dcb24fe34779c6bd50e.tar.gz tcl-31145f178e965c316eb97dcb24fe34779c6bd50e.tar.bz2 |
Copied man page and test from Androwish https://www.androwish.org/home/ci/bc8b7e8094b66169
Diffstat (limited to 'doc/binary.n')
-rw-r--r-- | doc/binary.n | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/binary.n b/doc/binary.n index 0e8b28e..3ba823b 100644 --- a/doc/binary.n +++ b/doc/binary.n @@ -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" A* 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 |