X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_instr.3x.html;h=28be2ba924e60b5b8f634d2c7c9c87debe642eac;hb=87c2c84cbd2332d6d94b12a1dcaf12ad1a51a938;hp=f5aecfcbead5d177f51be315aa39f2a758cd3aa2;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280;p=ncurses.git diff --git a/doc/html/man/curs_instr.3x.html b/doc/html/man/curs_instr.3x.html index f5aecfcb..28be2ba9 100644 --- a/doc/html/man/curs_instr.3x.html +++ b/doc/html/man/curs_instr.3x.html @@ -1,6 +1,6 @@ - @@ -36,7 +36,7 @@
#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: