diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-02-01 09:23:16 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-02-01 09:23:16 (GMT) |
| commit | cd509c317a50c75512537d6e1dba22a1985d099a (patch) | |
| tree | 034a31568a069f0d64622ad5d108d528b6fc4903 | |
| parent | abb7a3fbc9b9b6bc4aca95e3db337407cc6c94bb (diff) | |
| parent | df0141786f9c004cc6d5c78dcac6e5f0a5452376 (diff) | |
| download | tcl-cd509c317a50c75512537d6e1dba22a1985d099a.zip tcl-cd509c317a50c75512537d6e1dba22a1985d099a.tar.gz tcl-cd509c317a50c75512537d6e1dba22a1985d099a.tar.bz2 | |
Merge 8.7
| -rw-r--r-- | doc/StringObj.3 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/StringObj.3 b/doc/StringObj.3 index 817ed34..1368347 100644 --- a/doc/StringObj.3 +++ b/doc/StringObj.3 @@ -305,8 +305,11 @@ sprintf(buf, format, ...); but with greater convenience and no need to determine \fBSOME_SUITABLE_LENGTH\fR. The formatting is done with the same core formatting engine used by \fBTcl_Format\fR. This means the set of -supported conversion specifiers is that of the \fBformat\fR command and -not that of the \fBsprintf\fR routine where the two sets differ. When a +supported conversion specifiers is that of the \fBformat\fR command but +the behavior is as similar as possible to \fBsprintf\fR. The "hh" and +(Microsoft-specific) "w" format specifiers are not supported. The "L" +format specifier means that an "mp_int *" argument is expected (in combination +with "d"/"i"/"u"/"o"/"x"/"X", it cannot be used for long doubles). When a conversion specifier passed to \fBTcl_ObjPrintf\fR includes a precision, the value is taken as a number of bytes, as \fBsprintf\fR does, and not as a number of characters, as \fBformat\fR does. This is done on the |
