HPlogo HP-UX Reference Volume 4 of 5 > v

vwprintw(3X)

ENHANCED CURSES
» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

vwprintw — print formatted output in window

SYNOPSIS

#include <stdarg.h> #include <curses.h>

int vwprintw(WINDOW *win, char *fmt, va_list varglist);

DESCRIPTION

The vwprintw() function achieves the same effect as wprintw() using a variable argument list. The third argument is a va_list, as defined in <stdarg.h>.

RETURN VALUE

Upon successful completion, vwprintw() returns OK. Otherwise, it returns ERR.

ERRORS

No errors are defined.

APPLICATION USAGE

The vwprintw() function is deprecated because it relies on deprecated functions in the X/Open System Interfaces and Headers, Issue 4, Version 2 specification. The vw_printw() function is preferred.

SEE ALSO

mvprintw(3X), vw_printw(3X), fprintf() (in the X/Open System Interfaces and Headers, Issue 4, Version 2 specification), <curses.h>, <stdarg.h> (in the X/Open System Interfaces and Headers, Issue 4, Version 2 specification).

CHANGE HISTORY

First released in X/Open Curses, Issue 4.

© Hewlett-Packard Development Company, L.P.