1wsscanf(3C)              Standard C Library Functions              wsscanf(3C)
2
3
4

NAME

6       wsscanf - formatted input conversion
7

SYNOPSIS

9       #include<stdio.h>
10       #include <widec.h>
11
12       int wsscanf(wchar_t *s, const char *format, /* pointer */ ... );
13
14

DESCRIPTION

16       The  wsscanf()  function reads Process Code characters from the Process
17       Code string s, interprets them according to the format, and stores  the
18       results  in  its arguments.  It expects, as arguments, a control string
19       format, and a set of pointer arguments indicating where  the  converted
20       input should be stored. The results are undefined if there are insuffi‐
21       cient args for the format.  If  the  format  is  exhausted  while  args
22       remain, the excess args are simply ignored.
23
24
25       The conversion specifications and behavior of wsscanf() are the same as
26       the regular sscanf(3C) function except that the  source  is  a  Process
27       Code  string  for  wsscanf()  and on Extended Unix Code (EUC) character
28       string for sscanf(3C).
29

RETURN VALUES

31       Upon successful completion, wsscanf() returns the number of  characters
32       matched. Otherwise, it returns a negative value.
33

ATTRIBUTES

35       See attributes(5) for descriptions of the following attributes:
36
37
38
39
40       ┌───────────────────────────────────────────────────────────┐
41ATTRIBUTE TYPE                ATTRIBUTE VALUE              
42       │MT-Level                      MT-Safe                      │
43       └───────────────────────────────────────────────────────────┘
44

SEE ALSO

46       wsprintf(3C), printf(3C), scanf(3C), attributes(5)
47
48
49
50SunOS 5.11                        29 Dec 1996                      wsscanf(3C)
Impressum