Provided by: manpages-zh_1.5.2-1_all bug

NAME

       format -  sprintf

 SYNOPSIS
       format formatString ?arg arg ...?
_________________________________________________________________

INTRODUCTION

       ANSI   C   sprintf   (   sprintf)FormatString         sprintf         %
       (specifier)format

 DETAILS ON FORMATTING
       (scan)  formatString   %  %   (successive)   arg    argformat      args
       formatString

       :  XPG3 (flag)(modifier)

        %     $, %2$d 1   arg *   XPG3  formatString

       :

       -         ()

       +

       space

       0

       #          o  O  0 x  X () 0x  0X(eEfg G)  g  G

       (tabular)(line up)(column) 0 -  *  format

        eE f  g  G ( #  )() s   *   format

        h  l h  (truncate)16 l

       :

       d

       u

       i         ( 0) ( 0x)

       o

       x or X     x 0123456789abcdef X  0123456789ABCDEF                       |

       c                                                                       |
                  Unicode

       s

       f          xx.yyy  y (: 6) 0

       e or e     x.yyye±zz  y (: 6) 0  E   E   e

       g or G     -4  %e  %E  %f

       %         :  %

       format

 ANSI SPRINTF  DIFFERENCES FROM ANSI SPRINTF
       format  ANSI C sprintf  :

       [1]     %p  %n

       [2]     %c

       [3]     l   l  (      double  ) h

 SEE ALSO
       sprintf(3), string(n)

 KEYWORDS
       conversion specifier, format, sprintf, string, substitution

[]


[]

       2001/08/29

 Linux  man :
       http://cmpp.linuxforum.net