V10/ncurses/screen/scanw.c

Compare this file to the similar file:
Show the results in this format:

/*	@(#) scanw.c: 1.1 10/15/83	(1.3	3/1/83)	*/
/*
 * 1/26/81 (Berkeley) @(#)scanw.c	1.1
 */

# include	"curses.ext"
# include	<varargs.h>

/*
 *	This routine implements a scanf on the standard screen.
 */
/* VARARGS */
scanw(fmt, va_alist)
char	*fmt;
va_dcl
{
	va_list	ap;

	va_start(ap);
	return __sscans(stdscr, fmt, ap);
}