curs_printw(S)
curs_printw: printw, wprintw, mvprintw, mvwprintw, vwprintw --
print formatted output in curses windows
Syntax
cc ... -lcurses
#include <curses.h>
int printw(char *fmt [, arg] . . .);
int wprintw(WINDOW *win, char *fmt [, arg] . . .);
int mvprintw(int y, int x, char *fmt [, arg] . . .);
int mvwprintw(WINDOW *win, int y, int x, char *fmt [, arg] . . .);
#include <varargs.h>
int vwprintw(WINDOW *win, char *fmt, va_list varglist);
Description
The
printw(S),
wprintw(S),
mvprintw(S),
and
mvwprintw(S)
routines are analogous to
printf(S).
In effect, the string that
printf( )
would produce is produced instead as though by
waddstr(S).
The
vwprintw(S)
routine is analogous to
vprintf(S)
and does a
wprintw( )
using a variable argument list.
The third argument is
va_list,
a pointer to a list of arguments,
as defined in varargs.h.
Return values
All routines return the integer
ERR on failure and an integer value other than
ERR on successful completion.
Warning
The header file curses.h automatically includes the header files
stdio.h and unctrl.h.
Files
/usr/lib/libcurses.a-
the library
See also
curses(S),
printf(S),
vprintf(S)
Standards conformance
printw(S),
wprintw(S),
mvprintw(S),
mvwprintw(S),
and
vwprintw(S)
are not part of any
currently supported standard;
they were developed by UNIX System Laboratories, Inc. and
are maintained by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003