X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_instr.3x.html;h=cd6e72787b98ca12791c2770611c2d62f68789f3;hp=f5aecfcbead5d177f51be315aa39f2a758cd3aa2;hb=a6eb34d7fec8170a8715f9e53ca2f96452dd30dd;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280 diff --git a/doc/html/man/curs_instr.3x.html b/doc/html/man/curs_instr.3x.html index f5aecfcb..cd6e7278 100644 --- a/doc/html/man/curs_instr.3x.html +++ b/doc/html/man/curs_instr.3x.html @@ -27,7 +27,7 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: curs_instr.3x,v 1.20 2020/02/02 23:34:34 tom Exp @ + * @Id: curs_instr.3x,v 1.22 2020/10/18 00:18:27 tom Exp @ --> @@ -54,27 +54,28 @@
#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); + 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);
These routines return a string of characters in str, 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 characters long (exclu- - sive of the trailing NUL). + argument return a leading substring at most n characters long + (exclusive of the trailing NUL).
- All of the functions return ERR upon failure, or the number of charac- - ters actually read into the string. + All of the functions return ERR upon failure, or the number of + characters actually read into the string. X/Open Curses defines no error conditions. In this implementation: