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

NAME

       scan -  sscanf

 SYNOPSIS
       scan string format ?varName varName ...?
_________________________________________________________________

INTRODUCTION

         ANSI  C sscanf  -1String  format  sscanf  %  varName  string  varName |
       scan (inline)

 DETAILS ON SCANNING
       Scan  string  format format (blank)(tab) string ()  %   string   format
       %  % :  * XPG3

        scan  format  string ( [  c) scan

        %  $``%2$d'' 1  varName format  varName

       :

       d

       o           If  the  value  exceeds  MAX_INT (017777777777 on platforms |
                 using 32-bit integers), it will  be  truncated  to  a  signed |
                 integer.   Hence,  037777777777 will appear as -1 on a 32-bit |
                 machine.

       x          If the value exceeds MAX_INT (0x7FFFFFFF on platforms  using |
                 32-bit  integers),  it will be truncated to a signed integer. |
                 Hence, 0xFFFFFFFF will appear as -1 on a 32-bit machine.

       u

       i          expr (base)()

       c           ANSI

       s

       e  f  g    e  E

       [chars]    chars ]  chars  chars  a-b  a  b () - chars

       [^chars]   chars      ^  ]  chars chars      a-b   a   b      ()      -
                 chars

       n

       ( %d  %o ) *

ANSI SSCANF DIFFERENCES FROM ANSI SSCANF

        scan  ANSI C sscanf :

       [1]     %p

       [2]     %c    varName

       [3]     lh L    l ( double)

       [4]                                                                     |

 SEE ALSO
       format(n), sscanf(3)

 KEYWORDS
       conversion specifier, parse, scan

[]


[]

       2001/11/07

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