


curs_scanw(3X)                                     curs_scanw(3X)


NNAAMMEE
       ccuurrss__ssccaannww:  ssccaannww,  wwssccaannww,  mmvvssccaannww, mmvvwwssccaannww, vvwwssccaannww -
       convert formatted input from a ccuurrsseess widow

SSYYNNOOPPSSIISS
       ##iinncclluuddee <<ccuurrsseess..hh>>

       iinntt ssccaannww((cchhaarr **ffmmtt [,, aarrgg] ......));;
       iinntt wwssccaannww((WWIINNDDOOWW **wwiinn,, cchhaarr **ffmmtt [,, aarrgg] ......));;
       iinntt mmvvssccaannww((iinntt yy,, iinntt xx,, cchhaarr **ffmmtt [,, aarrgg] ......));;
       iinntt mmvvwwssccaannww((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx,,
             cchhaarr **ffmmtt [,, aarrgg]] ......));;
       iinntt vvwwssccaannww((WWIINNDDOOWW **wwiinn,, cchhaarr **ffmmtt,, vvaa__lliisstt vvaarrgglliisstt));;

DDEESSCCRRIIPPTTIIOONN
       The ssccaannww, wwssccaannww and mmvvssccaannww routines  are  analogous  to
       ssccaannff [see ssccaannff(3S)].  The effect of these routines is as
       though wwggeettssttrr were called on the window, and the  result-
       ing line used as input for ssssccaannff(3).  Fields which do not
       map to a variable in the _f_m_t field are lost.

       The vvwwssccaannww routine is similar to vvwwpprriinnttww in that it per-
       forms  a wwssccaannww using a variable argument list.  The third
       argument is a _v_a__l_i_s_t, a pointer to a list  of  arguments,
       as defined in <<vvaarraarrggss..hh>>.

RREETTUURRNN VVAALLUUEE
       vvwwssccaannww returns EERRRR on failure and an integer equal to the
       number of fields scanned on success.

       Applications may use the  return  value  from  the  ssccaannww,
       wwssccaannww,  mmvvssccaannww  and  mmvvwwssccaannww  routines to determine the
       number of fields which were mapped in the call.

PPOORRTTAABBIILLIITTYY
       The XSI Curses standard, Issue  4  describes  these  func-
       tions.   The  function  vvwwssccaannww is marked TO BE WITHDRAWN,
       and is to be replaced by a  function  vvww__ssccaannww  using  the
       <<ssttddaarrgg..hh>> interface.

SSEEEE AALLSSOO
       ccuurrsseess(3X), ccuurrss__ggeettssttrr, ccuurrss__pprriinnttww, ssccaannff(3S)















                                                                1


