INADDR_NONE, not -1; bug report 4.3BSD/lib/22
[unix-history] / usr / src / lib / libcurses / mvscanw.c
CommitLineData
87c6fcf8
DF
1/*
2 * Copyright (c) 1980 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 */
6
7#ifndef lint
8static char sccsid[] = "@(#)mvscanw.c 5.1 (Berkeley) %G%";
9#endif not lint
10
d92f8386
KA
11# include "curses.ext"
12
13/*
14 * implement the mvscanw commands. Due to the variable number of
15 * arguments, they cannot be macros. Another sigh....
16 *
d92f8386
KA
17 */
18
19mvscanw(y, x, fmt, args)
20reg int y, x;
21char *fmt;
22int args; {
23
2bd25f18 24 return move(y, x) == OK ? _sscans(stdscr, fmt, &args) : ERR;
d92f8386
KA
25}
26
27mvwscanw(win, y, x, fmt, args)
28reg WINDOW *win;
29reg int y, x;
30char *fmt;
31int args; {
32
2bd25f18 33 return wmove(win, y, x) == OK ? _sscans(win, fmt, &args) : ERR;
d92f8386 34}