innwstr(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/putp.3ncurses.html
putp(3ncurses) - curses interfaces to terminfo database.....
These low-level routines must be called by programs that have to deal directly with the terminfo database to handle certain terminal capabilities, such as progr

manpages/glNormalPointer.3gl.html
glNormalPointer(3gl) - define an array of normals (ManPage)
glNormalPointer specifies the location and data of an array of normals to use when rendering. type specifies the data type of the normal coordinates and stride

manpages/XtAppReleaseCacheRefs.3.html
XtAppReleaseCacheRefs(3) - decrement reference counts for re
XtAppReleaseCacheRefs decrements the reference count for the conversion entries identified by the refs argument. This argument is a pointer to a NULL-terminated

manpages/init_color.3ncurses.html
init_color(3ncurses) - curses color manipulation routines...
Overview curses support color attributes on terminals with that capability. To use these routines start_color must be called, usually right after initscr. Color

manpages/perlvms.1.html
perlvms(1) - VMS-specific documentation for Perl (Man Page)
Gathered below are notes describing details of Perl 5s behavior on VMS. They are a supplement to the regular Perl 5 documentation, so we have focussed on the wa

manpages/blib.3pm.html
blib(3pm) - Use MakeMaker's uninstalled version of a package
Looks for MakeMaker-like blib directory structure starting in dir (or current directory) and working back up to five levels of ... Intended for use on command l

manpages/opimport.1.html
opimport(1) converts sample database files - Linux man page
opimport converts sample database files from a foreign binary format (abi) to the native format. OPTIONS --abi / -a Input abi file description location. --force

manpages/tred.1.html
tred(1) - transitive reduction filter for directed graphs...
tred computes the transitive reduction of directed graphs, and prints the resulting graphs to standard output. This removes edges implied by transitivity. Nodes

manpages/gnutls_x509_crt_get_pk_dsa_raw.3.html
gnutls_x509_crt_get_pk_dsa_raw(3) - API function (Man Page)
gnutls_x509_crt_get_pk_dsa_raw.3 - This function will export the DSA public keys parameters found in the given certificate. The new parameters will be allocated

manpages/mouse.3ncurses.html
mouse(3ncurses) - mouse interface through curses (Man Page)
These functions provide an interface to mouse events from ncurses(3NCURSES). Mouse events are represented by KEY_MOUSE pseudo-key values in the wgetch input str

manpages/prezip-bin.1.html
prezip-bin(1) prefix zip delta word list compressor decompre
prezip-bin compresses/decompresses sorted word lists from standard input to standard output. Prezip-bin is similar to word-list-compress(1) but it allows a larg

manpages/XkbGetDeviceButtonActions.3.html
XkbGetDeviceButtonActions(3) - Query the button actions asso
XkbGetDeviceButtonActions queries the server for the desired button information for the device indicated by the device_spec field of device_info and waits for a





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