manual page distributed with 4.1BSD
[unix-history] / usr / src / lib / libcurses / mvprintw.c
CommitLineData
9fa02549
KA
1# include "curses.ext"
2
3/*
4 * implement the mvprintw commands. Due to the variable number of
5 * arguments, they cannot be macros. Sigh....
6 *
b66d8874 7 * @(#)mvprintw.c 1.2 (Berkeley) %G%
9fa02549
KA
8 */
9
10mvprintw(y, x, fmt, args)
11reg int y, x;
12char *fmt;
13int args; {
14
15 return move(y, x) == OK ? _sprintw(stdscr, fmt, &args) : ERR;
16}
17
18mvwprintw(win, y, x, fmt, args)
19reg WINDOW *win;
20reg int y, x;
21char *fmt;
22int args; {
23
24 return wmove(win, y, x) == OK ? _sprintw(win, fmt, &args) : ERR;
25}