date and time created 81/01/26 17:03:02 by arnold
[unix-history] / usr / src / lib / libcurses / mvscanw.c
CommitLineData
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 *
7 * %G% (Berkeley) @(#)mvscanw.c 1.1
8 */
9
10mvscanw(y, x, fmt, args)
11reg int y, x;
12char *fmt;
13int args; {
14
15 return move(y, x) == OK ? _sscanw(stdscr, fmt, &args) : ERR;
16}
17
18mvwscanw(win, y, x, fmt, args)
19reg WINDOW *win;
20reg int y, x;
21char *fmt;
22int args; {
23
24 return wmove(win, y, x) == OK ? _sscanw(win, fmt, &args) : ERR;
25}