mvwscanw man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

curs_scanw(3)							 curs_scanw(3)

NAME
       curs_scanw,  scanw, wscanw, mvscanw, mvwscanw, vw_scanw, vwscanw - Con‐
       vert formatted input from a Curses window

SYNOPSIS
       #include <curses.h>

       int scanw(
	       char *fmt[, arg]...  ); int wscanw(
	       WINDOW *win,
	       char *fmt[, arg]...  ); int mvscanw(
	       int y,
	       int x,
	       char *fmt[, arg]...  ); int mvwscanw(
	       WINDOW *win,
	       int y,
	       int x,
	       char *fmt[, arg]...  ); include <stdarg.h> include <curses.h>

       int vw_scanw(
	       WINDOW *win,
	       char *fmt,
	       va_list varglist ); include <varargs.h> include <curses.h>

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

LIBRARY
       Curses Library (libcurses)

STANDARDS
       Interfaces documented on this reference page conform to industry	 stan‐
       dards as follows:

       scanw, wscanw, mvscanw, mvwscanw, vw_scanw, vwscanw:  XCURSES4.2

       Refer  to  the  standards(5)  reference page for more information about
       industry standards and associated tags.

DESCRIPTION
       The scanw, wscanw,  and	mvscanw	 routines  correspond  to  scanf  (see
       fscanf(3)).   The  effect  of  these routines is as though wgetstr were
       called on the window, and the resulting line were used as input for the
       scan.  Fields that do not map to a variable in the fmt field are lost.

       The  vw_scanw routine is similar to vwprintw in that it uses a variable
       argument list. The third argument is va_list, a pointer to  a  list  of
       arguments, as defined in <stdarg.h>.

       The  vwscanw  routine  is equivalent to vw_scanw except that va_list is
       defined in <varargs.h>. Use of vw_scanw is recommended for new applica‐
       tions.

NOTES
       The  header  file  <curses.h>  automatically  includes  the header file
       <stdio.h>.

RETURN VALUES
       These routines return ERR on failure and OK upon successful completion.

SEE ALSO
       Functions: curses(3), curs_getstr(3), curs_printw(3), fscanf(3)

       Others: standards(5)

								 curs_scanw(3)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net