Commit | Line | Data |
---|---|---|
d92f8386 KA |
1 | # include "curses.ext" |
2 | ||
3 | /* | |
4 | * implement the mvscanw commands. Due to the variable number of | |
5 | * arguments, they cannot be macros. Another sigh.... | |
6 | * | |
b66d8874 | 7 | * @(#)mvscanw.c 1.3 (Berkeley) %G% |
d92f8386 KA |
8 | */ |
9 | ||
10 | mvscanw(y, x, fmt, args) | |
11 | reg int y, x; | |
12 | char *fmt; | |
13 | int args; { | |
14 | ||
2bd25f18 | 15 | return move(y, x) == OK ? _sscans(stdscr, fmt, &args) : ERR; |
d92f8386 KA |
16 | } |
17 | ||
18 | mvwscanw(win, y, x, fmt, args) | |
19 | reg WINDOW *win; | |
20 | reg int y, x; | |
21 | char *fmt; | |
22 | int args; { | |
23 | ||
2bd25f18 | 24 | return wmove(win, y, x) == OK ? _sscans(win, fmt, &args) : ERR; |
d92f8386 | 25 | } |