mvwinnwstr(3ncurses)


NAME

   inwstr,  innwstr,  winwstr,  winnwstr,  mvinwstr, mvinnwstr, mvwinwstr,
   mvwinnwstr - get a string of wchar_t characters from a curses window

SYNOPSIS

   #include <curses.h>

   int inwstr(wchar_t *str);
   int innwstr(wchar_t *str, int n);
   int winwstr(WINDOW *win, wchar_t *str);
   int winnwstr(WINDOW *win, wchar_t *str, int n);
   int mvinwstr(int y, int x, wchar_t *str);
   int mvinnwstr(int y, int x, wchar_t *str, int n);
   int mvwinwstr(WINDOW *win, int y, int x, wchar_t *str);
   int mvwinnwstr(WINDOW *win, int y, int x, wchar_t *str, int n);

DESCRIPTION

   These routines return a string of wchar_t characters in wstr, extracted
   starting   at   the  current  cursor  position  in  the  named  window.
   Attributes are stripped from the characters.  The four functions with n
   as  the  last  argument return a leading substring at most n bytes long
   (exclusive of the trailing NUL).  Transfer stops  at  the  end  of  the
   current  line,  or  when  n  bytes  have  been  stored  at the location
   referenced by wstr.

   If the size n is not large enough to store  a  complete  character,  an
   error is generated.

NOTES

   Note that all routines except winnwstr may be macros.

RETURN VALUE

   All  routines  return ERR upon failure. Upon successful completion, the
   *inwstr routines return OK, and the *innwstr routines return the number
   of characters read into the string.

   Functions  with  a  "mv"  prefix  first perform a cursor movement using
   wmove, and return an error if the position is outside the window, or if
   the window pointer is null.

SEE ALSO

   ncurses(3NCURSES), instr(3NCURSES), in_wchstr(3NCURSES)

                                                          inwstr(3NCURSES)


More Linux Commands

manpages/X11::Protocol::Ext::RENDER.3pm.html
X11::Protocol::Ext::RENDER.3pm..............................
The RENDER extension adds a new set of drawing primitives which effectively represent a replacement of the drawing routines in the core protocol, redesigned bas

manpages/pthread_setcancelstate.3.html
pthread_setcancelstate(3) - set cancelability state and type
The pthread_setcancelstate() sets the cancelability state of the calling thread to the value given in state. The previous cancelability state of the thread is r

manpages/FcPatternGet.3.html
FcPatternGet(3) - Return a value from a pattern (Man Page)
Returns in v the idth value associated with the property object. The value returned is not a copy, but rather refers to the data stored within the pattern direc

manpages/slk_attroff.3ncurses.html
slk_attroff(3ncurses) - curses soft label routines (ManPage)
The slk* functions manipulate the set of soft function-key labels that exist on many terminals. For those terminals that do not have soft labels, curses takes o

manpages/pthread_getaffinity_np.3.html
pthread_getaffinity_np(3) - set/get CPU affinity of a thread
The pthread_setaffinity_np() function sets the CPU affinity mask of the thread thread to the CPU set pointed to by cpuset. If the call is successful, and the th

manpages/XF86MiscGetKbdSettings.3.html
XF86MiscGetKbdSettings(3) - Extension library for the XFree8
These functions provide an interface to the XFree86-Misc extension which allows various server settings to be queried and changed dynamically. Applications that

manpages/zoomsh.1.html
zoomsh(1) - ZOOM shell (Commands - Linux manual page).......
zoomsh is a ZOOM client with a simple command line interface. The client demonstrates the ZOOM API and is useful for testing targets. You may pass one or more c

manpages/XtCallbackExclusive.3.html
XtCallbackExclusive(3) - map a pop-up - Linux manual page...
The XtPopup function performs the following: * Calls XtCheckSubclass to ensure popup_shell is a subclass of Shell. * Generates an error if the shells popped_up

manpages/klogctl.3.html
klogctl(3) - read and/or clear kernel message ring buffer; s
If you need the C library function syslog() (which talks to syslogd(8)), then look at syslog(3). The system call of this name is about controlling the kernel pr

manpages/Tk_DeleteImage.3.html
Tk_DeleteImage(3) - Destroy an image. - Linux manual page...
Tk_DeleteImage deletes the image given by interp and name, if there is one. All instances of that image will redisplay as empty regions. If the given image does

manpages/setxkbmap.1.html
setxkbmap(1) - set the keyboard using the X Keyboard Extensi
The setxkbmap command maps the keyboard to use the layout determined by the options specified on the command line. An XKB keymap is constructed from a number of

manpages/asn1_read_value_type.3.html
asn1_read_value_type(3) API function - Linux manual page....
Returns the type and value of one element inside a structure. If an element is OPTIONAL and this returns ASN1_ELEMENT_NOT_FOUND, it means that this element wasn





We can't live, work or learn in freedom unless the software we use is free.