Use the scanw and mvscanw subroutines on the stdscr and the wscanw and mvwscanw subroutines on the user-defined window. Parameters Argument Specifies the input to read. Column Specifies the vertical coordinate to move the logical cursor to before performing the scan. Format Specifies the conversion specifications to use to interpret the input. For more information about this parameter, see the discussion of the Format parameter in the scanf subroutine.
Line Specifies the horizontal coordinate to move the logical cursor to before performing the scan.
Window Specifies the window to perform the scan in. You only need to specify this parameter with the wscanw and mvwscanw subroutines. The following shows how to read input from the keyboard using the scanw subroutine. The wgetstr subroutine. Writing and Debugging Programs .