X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_legacy.3x.html;h=181060cb5865fd89a34bd5e8a41d3865a4e14138;hb=9b51794524995304d8788e42aacb36feede9364f;hp=9c22ec7ca6a12b228d9f6807195f5d1ebc98413c;hpb=8d3ea9021573747ecd129228ba7782a03243f62c;p=ncurses.git diff --git a/doc/html/man/curs_legacy.3x.html b/doc/html/man/curs_legacy.3x.html index 9c22ec7c..181060cb 100644 --- a/doc/html/man/curs_legacy.3x.html +++ b/doc/html/man/curs_legacy.3x.html @@ -1,6 +1,7 @@ -
- +#include <curses.h> - int getattrs(WINDOW *win); - int getbegx(WINDOW *win); - int getbegy(WINDOW *win); - int getcurx(WINDOW *win); - int getcury(WINDOW *win); - int getmaxx(WINDOW *win); - int getmaxy(WINDOW *win); - int getparx(WINDOW *win); - int getpary(WINDOW *win); + int getattrs(const WINDOW *win); + + int getbegx(const WINDOW *win); + int getbegy(const WINDOW *win); + + int getcurx(const WINDOW *win); + int getcury(const WINDOW *win); + + int getmaxx(const WINDOW *win); + int getmaxy(const WINDOW *win); + + int getparx(const WINDOW *win); + int getpary(const WINDOW *win);
- These legacy functions are simpler to use than the X/Open Curses func- - tions: + These legacy functions are simpler to use than the X/Open Curses + functions: o The getattrs function returns the same attribute data as wattr_get. @@ -90,8 +95,8 @@
- Except as noted, these functions return an integer, or ERR if the win- - dow parameter is null. + Except as noted, these functions return an integer, or ERR if the + window parameter is null.
@@ -104,12 +109,13 @@
- These functions were supported on Version 7, BSD or System V implemen- - tations. None of those implementations checked the window parameter. + These functions were supported on Version 7, BSD or System V + implementations. None of those implementations checked the window + parameter. - The getattrs function and macro are defined to return a (signed) inte- - ger for compatibility with those implementations although an unsigned - type would have been more appropriate. + The getattrs function and macro are defined to return a (signed) + integer for compatibility with those implementations although an + unsigned type would have been more appropriate.