1curs_legacy(3X)                                                curs_legacy(3X)
2
3
4

NAME

6       getattrs - get curses cursor and window coordinates, attributes
7

SYNOPSIS

9       #include <curses.h>
10
11       int getattrs(WINDOW *win);
12       int getbegx(WINDOW *win);
13       int getbegy(WINDOW *win);
14       int getcurx(WINDOW *win);
15       int getcury(WINDOW *win);
16       int getmaxx(WINDOW *win);
17       int getmaxy(WINDOW *win);
18       int getparx(WINDOW *win);
19       int getpary(WINDOW *win);
20

DESCRIPTION

22       The getbegy and getbegx functions return the same data as getbegyx.
23
24       The getcury and getcurx functions return the same data as getyx.
25
26       The getmaxy and getmaxx functions return the same data as getmaxyx.
27
28       The getpary and getparx functions return the same data as getparyx.
29

RETURN VALUE

31       These  functions  return  an integer, or ERR if the window parameter is
32       null.
33

NOTES

35       All of these interfaces are provided  as  macros  and  functions.   The
36       macros   are   suppressed   (and  only  the  functions  provided)  when
37       NCURSES_OPAQUE is defined.  The standard forms such as  getyx  must  be
38       implemented  as  macros,  and  (in  this implementation) are defined in
39       terms of the functions described here, to avoid  reliance  on  internal
40       details of the WINDOW structure.
41

PORTABILITY

43       These  functions were supported on Version 7, BSD or System V implemenā€
44       tations.
45

SEE ALSO

47       curses(3X), curs_getyx(3X), curs_opaque(3X)
48
49
50
51                                                               curs_legacy(3X)
Impressum