X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_get_wstr.3x.html;h=b24f16563653aefb981fdfcc6876601f555f5917;hp=b3b066d519f0cf51dc9bcd7048d15f99592906dc;hb=f344f8539c1543f8cd65a5bb142dbaf23b9421d2;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01;ds=sidebyside diff --git a/doc/html/man/curs_get_wstr.3x.html b/doc/html/man/curs_get_wstr.3x.html index b3b066d5..b24f1656 100644 --- a/doc/html/man/curs_get_wstr.3x.html +++ b/doc/html/man/curs_get_wstr.3x.html @@ -1,7 +1,6 @@ - + + + curs_get_wstr 3x -

curs_get_wstr 3x

-
+

curs_get_wstr 3x

-
+curs_get_wstr(3x)                                     curs_get_wstr(3x)
 
-
-

NAME

-       get_wstr,  getn_wstr,  wget_wstr,  wgetn_wstr, mvget_wstr,
-       mvgetn_wstr, mvwget_wstr, mvwgetn_wstr - get an  array  of
+
+
+
+

NAME

+       get_wstr, getn_wstr, wget_wstr, wgetn_wstr, mvget_wstr,
+       mvgetn_wstr, mvwget_wstr, mvwgetn_wstr - get an array of
        wide characters from a curses terminal keyboard
 
 
-
-

SYNOPSIS

+

SYNOPSIS

        #include <curses.h>
 
        int get_wstr(wint_t *wstr);
@@ -62,16 +64,15 @@
        int mvwgetn_wstr(WINDOW *win, int y, int x, wint_t *wstr, int n);
 
 
-
-

DESCRIPTION

+

DESCRIPTION

        The  effect  of get_wstr is as though a series of calls to
-       get_wch were made, until a newline, other end-of-line,  or
-       end-of-file condition is processed.  An end-of-file condi-
-       tion is represented by WEOF, as defined in <wchar.h>.  The
-       newline  and end-of-line conditions are represented by the
-       \n wchar_t value.  In all instances, the end of the string
-       is  terminated  by  a  null  wchar_t.   The routine places
-       resulting values in the area pointed to by wstr.
+       get_wch(3x) were made, until a newline, other end-of-line,
+       or  end-of-file  condition  is  processed.  An end-of-file
+       condition is represented by WEOF, as defined in <wchar.h>.
+       The  newline and end-of-line conditions are represented by
+       the \n wchar_t value.  In all instances, the  end  of  the
+       string  is  terminated  by  a  null  wchar_t.  The routine
+       places resulting values in the area pointed to by wstr.
 
        The user's erase and kill characters are interpreted.   If
        keypad   mode   is   on   for  the  window,  KEY_LEFT  and
@@ -98,8 +99,7 @@
        the application prevent overflow of the input buffer.
 
 
-
-

NOTES

+

NOTES

        Using get_wstr, mvget_wstr, mvwget_wstr, or  wget_wstr  to
        read  a  line  that overflows the array pointed to by wstr
        causes  undefined  results.    The   use   of   getn_wstr,
@@ -113,60 +113,53 @@
        All of these routines except wgetn_wstr may be macros.
 
 
-
-

RETURN VALUES

+

RETURN VALUE

        All of these functions return OK upon  successful  comple-
        tion.  Otherwise, they return ERR.
 
+       Functions  using  a window parameter return an error if it
+       is null.
 
-
-

PORTABILITY

+              wgetn_wstr
+                   returns an error if  the  associated  call  to
+                   wget_wch failed.
+
+       Functions  with a "mv" prefix first perform a cursor move-
+       ment using wmove, and return an error if the  position  is
+       outside the window, or if the window pointer is null.
+
+
+

PORTABILITY

        These  functions are described in The Single Unix Specifi-
        cation, Version 2.  No error conditions are defined.  This
        implementation  returns ERR if the window pointer is null,
        or if the lower-level wget_wch call returns  an  ERR.   In
        the  latter  case,  an  ERR  return  without other data is
-       treated as an  end-of-file  condition,  and  the  returned
-       array contains a WEOF followed by a null wchar_t.
-
-
-
-

SEE ALSO

-       Functions:  curses(3x), curs_get_wch(3x), curs_getstr(3x).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+       treated as an end-of-file condition, and the returned  ar-
+       ray contains a WEOF followed by a null wchar_t.
 
+       X/Open  curses  documents these functions to pass an array
+       of wchar_t, but all of the vendors  implement  this  using
+       wint_t.
 
 
+

SEE ALSO

+       Functions: curses(3x), curs_get_wch(3x), curs_getstr(3x).
 
 
 
+                                                      curs_get_wstr(3x)
 
-
-
-Man(1) output converted with -man2html -
+