*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> wscanw (3)              



NAME    [Toc]    [Back]

       curs_scanw,  scanw,  wscanw,  mvscanw, mvwscanw, vw_scanw,
       vwscanw - Convert formatted input from a Curses window

SYNOPSIS    [Toc]    [Back]

       #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

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

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

LIBRARY    [Toc]    [Back]

       Curses Library (libcurses)

STANDARDS    [Toc]    [Back]

       Interfaces documented on this reference  page  conform  to
       industry standards as follows:

       scanw,   wscanw,   mvscanw,   mvwscanw,   vw_scanw,   vwscanw:

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

DESCRIPTION    [Toc]    [Back]

       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

       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 applications.

NOTES    [Toc]    [Back]

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

RETURN VALUES    [Toc]    [Back]

       These  routines return ERR on failure and OK upon successful

SEE ALSO    [Toc]    [Back]

       Functions:  curses(3),   curs_getstr(3),   curs_printw(3),

       Others: standards(5)

[ Back ]
 Similar pages
Name OS Title
scanf IRIX convert formatted input
scanf Tru64 Convert formatted input
fscanf Tru64 Convert formatted input
sscanf Tru64 Convert formatted input
curs_scanw IRIX convert formatted input from a curses widow
fwscanf Tru64 Convert formatted wide-character input
wscanf Tru64 Convert formatted wide-character input
swscanf Tru64 Convert formatted wide-character input
pod2man Linux Convert POD data to formatted *roff input
pod2man OpenBSD Convert POD data to formatted *roff input
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service