X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_legacy.3x;h=c2eb86b8834c2c20a9f415ea2c240ab951b3c677;hp=9851b9dece08d7666ddba108b9640a969331fe15;hb=5925150381bb42a4d8c7116d62c348a7b84309f3;hpb=0de8912c1c0746eb37b733e9e6fdf852aab9506a diff --git a/man/curs_legacy.3x b/man/curs_legacy.3x index 9851b9de..c2eb86b8 100644 --- a/man/curs_legacy.3x +++ b/man/curs_legacy.3x @@ -1,5 +1,6 @@ .\"*************************************************************************** -.\" Copyright (c) 2007-2017,2019 Free Software Foundation, Inc. * +.\" Copyright 2019,2020 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 * @@ -26,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_legacy.3x,v 1.9 2019/03/23 21:51:12 tom Exp $ +.\" $Id: curs_legacy.3x,v 1.12 2020/10/18 00:16:04 tom Exp $ .de bP .ie n .IP \(bu 4 .el .IP \(bu 2 @@ -37,23 +38,23 @@ curs_legacy \- get \fBcurses\fP cursor and window coordinates, attributes .SH SYNOPSIS \fB#include \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 +\fBint getattrs(const WINDOW *\fP\fIwin\fP\fB);\fP +.sp +\fBint getbegx(const WINDOW *\fP\fIwin\fP\fB);\fP .br -\fBint getmaxx(const WINDOW *win);\fP +\fBint getbegy(const WINDOW *\fP\fIwin\fP\fB);\fP +.sp +\fBint getcurx(const WINDOW *\fP\fIwin\fP\fB);\fP .br -\fBint getmaxy(const WINDOW *win);\fP +\fBint getcury(const WINDOW *\fP\fIwin\fP\fB);\fP +.sp +\fBint getmaxx(const WINDOW *\fP\fIwin\fP\fB);\fP .br -\fBint getparx(const WINDOW *win);\fP +\fBint getmaxy(const WINDOW *\fP\fIwin\fP\fB);\fP +.sp +\fBint getparx(const WINDOW *\fP\fIwin\fP\fB);\fP .br -\fBint getpary(const WINDOW *win);\fP +\fBint getpary(const WINDOW *\fP\fIwin\fP\fB);\fP .br .SH DESCRIPTION These legacy functions are simpler to use than the X/Open Curses functions: