DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

mvprintw(CURSES)


mvprintw -- print formatted output in window

Synopsis

cc [options] file -lcurses
#include <curses.h>

int mvprintw(int y, int x, char *fmt, ...);

int mvwprintw(WINDOW *win, int y, int x, char *fmt, ...);

int printw(char *fmt, ...);

int wprintw(WINDOW *win, char *fmt, ...);

Description

The mvprintw(CURSES), mvwprintw(CURSES), printw(CURSES) and wprintw(CURSES) functions are analogous to printf(S). The effect of these functions is as though sprintf(S) were used to format the string, and then waddstr(CURSES) were used to add that multi-byte string to the current or specified window at the current or specified cursor position.

Return value

Upon successful completion, these functions return OK. Otherwise, they return ERR.

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

addnstr(CURSES), fprintf(S), curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005