home *** CD-ROM | disk | FTP | other *** search
- NAME
- wprintw() printw() mvprintw() mvwprintw() - simulate the printf function
- wscanw() scanw() mvscanw() mvwscanw() - simulate the scanf function
- pblen() - return length of string
-
- SYNOPSIS
- #include <curses.h>
- #include <curspriv.h>
-
- int wprintw(win,fmt,A1,A2,A3,A4,A5)
- WINDOW *win;
- char *fmt;
- double A1,A2,A3,A4,A5;
-
- int printw(fmt,A1,A2,A3,A4,A5)
- char *fmt;
- double A1,A2,A3,A4,A5;
-
- int mvprintw(y,x,fmt,A1,A2,A3,A4,A5)
- int y;
- int x;
- char *fmt;
- double A1,A2,A3,A4,A5;
-
- int mvwprintw(win,y,x,fmt,A1,A2,A3,A4,A5)
- WINDOW *win;
- int y;
- int x;
- char *fmt;
- double A1,A2,A3,A4,A5;
-
- int wscanw(win,fmt,A1,A2,A3,A4,A5)
- WINDOW *win;
- char *fmt;
- double A1,A2,A3,A4,A5; /* really pointers */
-
- int scanw(fmt,A1,A2,A3,A4,A5)
- char *fmt;
- double A1,A2,A3,A4,A5; /* really pointers */
-
- int mvscanw(y,x,fmt,A1,A2,A3,A4,A5)
- int y;
- int x;
- char *fmt;
- double A1,A2,A3,A4,A5; /* really pointers */
-
- int mvwscanw(win,y,x,fmt,A1,A2,A3,A4,A5)
- WINDOW *win;
- int y;
- int x;
- char *fmt;
- double A1,A2,A3,A4,A5; /* really pointers */
-
- static int pblen()
-
- DESCRIPTION
- wprintw() does a printf() in window 'win'.
-
- printw() does a printf() in stdscr.
-
- mvprintw() moves the stdscr cursor to a new posi-
- tion, then does a printf() in stdscr.
-
- mvwprintw() moves the window 'win's cursor to
- a new position, then does a printf() in window 'win'.
-
- wscanw() gets a string via window 'win', then
- scans the string using format 'fmt' to extract the values
- and put them in the variables pointed to the arguments.
-
- scanw() gets a string via stdscr, then scans the
- string using format 'fmt' to extract the values and put them
- in the variables pointed to the arguments.
-
- mvscanw() moves stdscr's cursor to a new posi-
- tion, then gets a string via stdscr and scans the string
- using format 'fmt' to extract the values and put them in the
- variables pointed to the arguments.
-
- mvwscanw() moves window 'win's cursor to a
- new position, then gets a string via 'win' and scans the
- string using format 'fmt' to extract the values and put them
- in the variables pointed to the arguments.
-
- pblen() returns the length of the string in printscanbuf.
-
- EXAMPLES
-
- SEE ALSO
- sprintf(); waddstr(); wmove(); wrefresh(); wgetstr(); sscanf()
-
- BUGS
-