1vwscanw(3XCURSES) X/Open Curses Library Functions vwscanw(3XCURSES)
2
3
4
6 vwscanw - convert formatted input from a window
7
9 cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib \
10 -R /usr/xpg4/lib -lcurses [ library... ]
11
12 c89 [ flag... ] file... -lcurses [ library... ]
13
14 #include <varargs.h>
15 #include <curses.h>
16
17 int vwscanw(WINDOW *win, char *fmt, va_list varglist);
18
19
21 fmt Is a scanf() format string.
22
23
24 varglist Is a pointer to a list of parameters.
25
26
27 win Is a pointer to the window in which the character is to be
28 read.
29
30
32 The vwscanw() function achieves the same effect as wscanw(3XCURSES)
33 using a variable argument list. The third argument is a va_list, as
34 defined in <varargs.h>.
35
37 Upon successful completion, vwscanw() returns OK. Otherwise, it returns
38 ERR.
39
41 No errors are defined.
42
44 The vwscanw() function is deprecated; the vw_scanw(3XCURSES) function
45 is preferred. The use of the vwscanw() and vw_scanw() in the same file
46 will not work, due to the requirements to include <varargs.h> and
47 <stdarg.h>, which both contain definitions of va_list.
48
50 See attributes(5) for descriptions of the following attributes:
51
52
53
54
55 ┌─────────────────────────────┬─────────────────────────────┐
56 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │Interface Stability │Standard │
59 ├─────────────────────────────┼─────────────────────────────┤
60 │MT-Level │Unsafe │
61 └─────────────────────────────┴─────────────────────────────┘
62
64 libcurses(3XCURSES), mvscanw(3XCURSES), scanf(3C), vw_scanw(3XCURSES),
65 attributes(5), standards(5)
66
67
68
69SunOS 5.11 5 Jun 2002 vwscanw(3XCURSES)