instr man page on DigitalUNIX

Printed from

curs_instr(3)							 curs_instr(3)

       curs_instr,  instr,  innstr, winstr, winnstr, mvinstr, mvinnstr, mvwin‐
       str, mvwinnstr - Get a string of characters from a Curses window

       #include <curses.h>

       int instr(
	       char *str ); int innstr(
	       char *str,
	       int n ); int winstr(
	       WINDOW *win,
	       char *str ); int winnstr(
	       WINDOW *win,
	       char *str,
	       int n ); int mvinstr(
	       int y,
	       int x,
	       char *str ); int mvinnstr(
	       int y,
	       int x,
	       char *str,
	       int n ); int mvwinstr(
	       WINDOW *win,
	       int y,
	       int x,
	       char *str ); int mvwinnstr(
	       WINDOW *win,
	       int y,
	       int x,
	       char *str,
	       int n );

       Curses Library (libcurses)

       Interfaces documented on this reference page conform to industry	 stan‐
       dards as follows:

       instr,	innstr,	  winstr,   winnstr,   mvinstr,	  mvinnstr,  mvwinstr,
       mvwinnstr:  XCURSES4.2

       Refer to the standards(5) reference page	 for  more  information	 about
       industry standards and associated tags.

       These  routines return the string of characters in str, starting at the
       current cursor position in the named window and	ending	at  the	 right
       margin of the window. Attributes are stripped from the characters.  The
       four functions with n as the last argument return a string that	is  at
       most n characters long.

       The  header  file  <curses.h>  automatically  includes  the header file

       Note that all routines except winnstr may be macros.

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

       Functions: curses(3)

       Others: standards(5)


List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net