X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_get_wstr.3x.html;h=98c230eab247fe6a5ea071fc2957d84d31510135;hp=4adca85bed43f60e5765c03239fbdaf9a1f23199;hb=55ccd2b959766810cf7db8d1c4462f338ce0afc8;hpb=a8987e73ec254703634802b4f7ee30d3a485524d;ds=sidebyside diff --git a/doc/html/man/curs_get_wstr.3x.html b/doc/html/man/curs_get_wstr.3x.html index 4adca85b..98c230ea 100644 --- a/doc/html/man/curs_get_wstr.3x.html +++ b/doc/html/man/curs_get_wstr.3x.html @@ -1,7 +1,7 @@
@@ -40,15 +40,15 @@-curs_get_wstr(3x) curs_get_wstr(3x) +curs_get_wstr(3x) curs_get_wstr(3x)
- get_wstr, getn_wstr, wget_wstr, wgetn_wstr, mvget_wstr, - mvgetn_wstr, mvwget_wstr, mvwgetn_wstr - get an array of + 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 @@ -74,8 +74,8 @@ 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. + is terminated by a null wchar_t. The routine places re- + sulting 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 @@ -122,6 +122,13 @@ 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. + + wgetn_wstr + returns an error if the associated call to + wget_wch failed. +
@@ -130,8 +137,8 @@ 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. + 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 @@ -144,7 +151,7 @@ - curs_get_wstr(3x) + curs_get_wstr(3x)