~tokyocabinet/tokyocabinet/jmansion-1.3.22-win32port

« back to all changes in this revision

Viewing changes to man/tcutil.3

  • Committer: Baptiste Lepilleur
  • Date: 2009-07-30 19:18:09 UTC
  • Revision ID: blep@users.sourceforge.net-20090730191809-25n1oasil80fa6ie
Tags: tokyocabinet-1.3.15
releaseĀ 1.3.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
327
327
`\fIxstr\fR' specifies the extensible string object.
328
328
.RE
329
329
.RS
330
 
`\fIformat\fR' specifies the printf\-like format string.  The conversion character `%' can be used with such flag characters as `s', `d', `o', `u', `x', `X', `c', `e', `E', `f', `g', `G', `@', `?', `%'.  `@' works as with `s' but escapes meta characters of XML.  `?' works as with `s' but escapes meta characters of URL.  The other conversion character work as with each original.
 
330
`\fIformat\fR' specifies the printf\-like format string.  The conversion character `%' can be used with such flag characters as `s', `d', `o', `u', `x', `X', `c', `e', `E', `f', `g', `G', `@', `?', `b', and `%'.  `@' works as with `s' but escapes meta characters of XML.  `?' works as with `s' but escapes meta characters of URL.  `b' converts an integer to the string as binary numbers.  The other conversion character work as with each original.
331
331
.RE
332
332
.RS
333
333
The other arguments are used according to the format string.
340
340
.br
341
341
\fBchar *tcsprintf(const char *\fIformat\fB, ...);\fR
342
342
.RS
343
 
`\fIformat\fR' specifies the printf\-like format string.  The conversion character `%' can be used with such flag characters as `s', `d', `o', `u', `x', `X', `c', `e', `E', `f', `g', `G', `@', `?', `%'.  `@' works as with `s' but escapes meta characters of XML.  `?' works as with `s' but escapes meta characters of URL.  The other conversion character work as with each original.
 
343
`\fIformat\fR' specifies the printf\-like format string.  The conversion character `%' can be used with such flag characters as `s', `d', `o', `u', `x', `X', `c', `e', `E', `f', `g', `G', `@', `?', `b', and `%'.  `@' works as with `s' but escapes meta characters of XML.  `?' works as with `s' but escapes meta characters of URL.  `b' converts an integer to the string as binary numbers.  The other conversion character work as with each original.
344
344
.RE
345
345
.RS
346
346
The other arguments are used according to the format string.
347
347
.RE
348
348
.RS
 
349
The return value is the pointer to the region of the result string.
 
350
.RE
 
351
.RS
349
352
Because the region of the return value is allocated with the `malloc' call, it should be released with the `free' call when it is no longer in use.
350
353
.RE
351
354
.RE