.\"***************************************************************************
-.\" Copyright (c) 2007-2017,2019 Free Software Foundation, Inc. *
+.\" Copyright 2019-2022,2023 Thomas E. Dickey *
+.\" Copyright 2007-2015,2017 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
.\" copy of this software and associated documentation files (the *
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_legacy.3x,v 1.9 2019/03/23 21:51:12 tom Exp $
+.\" $Id: curs_legacy.3x,v 1.17 2023/07/01 15:43:20 tom Exp $
.de bP
.ie n .IP \(bu 4
.el .IP \(bu 2
..
-.TH curs_legacy 3X ""
+.TH curs_legacy 3X 2023-07-01 "ncurses 6.4" "Library calls"
.SH NAME
curs_legacy \- get \fBcurses\fP cursor and window coordinates, attributes
.SH SYNOPSIS
\fB#include <curses.h>\fP
.sp
-\fBint getattrs(const WINDOW *win);\fP
-.br
-\fBint getbegx(const WINDOW *win);\fP
-.br
-\fBint getbegy(const WINDOW *win);\fP
-.br
-\fBint getcurx(const WINDOW *win);\fP
-.br
-\fBint getcury(const WINDOW *win);\fP
-.br
-\fBint getmaxx(const WINDOW *win);\fP
+\fBint getattrs(const WINDOW *\fIwin\fB);\fR
+.sp
+\fBint getbegx(const WINDOW *\fIwin\fB);\fR
.br
-\fBint getmaxy(const WINDOW *win);\fP
+\fBint getbegy(const WINDOW *\fIwin\fB);\fR
+.sp
+\fBint getcurx(const WINDOW *\fIwin\fB);\fR
.br
-\fBint getparx(const WINDOW *win);\fP
+\fBint getcury(const WINDOW *\fIwin\fB);\fR
+.sp
+\fBint getmaxx(const WINDOW *\fIwin\fB);\fR
.br
-\fBint getpary(const WINDOW *win);\fP
+\fBint getmaxy(const WINDOW *\fIwin\fB);\fR
+.sp
+\fBint getparx(const WINDOW *\fIwin\fB);\fR
.br
+\fBint getpary(const WINDOW *\fIwin\fB);\fR
.SH DESCRIPTION
These legacy functions are simpler to use than the X/Open Curses functions:
.bP