X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_legacy.3x.html;h=183e7de1b047582cc379b4ac1c3312cb03f810d7;hb=2882050bf8b296813e7e026b1c5c45d4a23043e3;hp=b0b8c75159282fdc66015d8714391d1884932d2b;hpb=06078d3fa68db669ed37178c01873546b4b28745;p=ncurses.git diff --git a/doc/html/man/curs_legacy.3x.html b/doc/html/man/curs_legacy.3x.html index b0b8c751..183e7de1 100644 --- a/doc/html/man/curs_legacy.3x.html +++ b/doc/html/man/curs_legacy.3x.html @@ -1,6 +1,7 @@ - - -curs_legacy 3x - - + +curs_legacy 3x 2023-10-07 ncurses 6.4 Library calls + + -

curs_legacy 3x

+

curs_legacy 3x 2023-10-07 ncurses 6.4 Library calls

-curs_legacy(3x)                                                curs_legacy(3x)
+curs_legacy(3x)                  Library calls                 curs_legacy(3x)
 
 
 
 
 

NAME

-       curs_legacy - get curses cursor and window coordinates, attributes
+       getattrs,   getbegx,   getbegy,  getcurx,  getcury,  getmaxx,  getmaxy,
+       getparx,  getpary  -  get  curses  cursor  and  window  coordinates  or
+       attributes (legacy)
 
 
 

SYNOPSIS

        #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);
 
 
 

DESCRIPTION

-       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 +97,8 @@
 
 
 

RETURN VALUE

-       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.
 
 
 

NOTES

@@ -100,16 +107,17 @@
        NCURSES_OPAQUE is defined.  The standard forms such as  getyx  must  be
        implemented  as  macros,  and  (in  this implementation) are defined in
        terms of the functions described here, to avoid  reliance  on  internal
-       details of the WINDOW structure.
+       details of the WINDOW structure.
 
 
 

PORTABILITY

-       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.
 
 
 

SEE ALSO

@@ -117,7 +125,7 @@
 
 
 
-                                                               curs_legacy(3x)
+ncurses 6.4                       2023-10-07                   curs_legacy(3x)