X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_legacy.3x;h=b73a6be197b4d45adb30fc21fd1f674e01e960a8;hp=998abd081fb51fef6361b2940f94a179e755f612;hb=f79af94ad91dfe693eb9779caf71ea892fb1eff6;hpb=8d3ea9021573747ecd129228ba7782a03243f62c diff --git a/man/curs_legacy.3x b/man/curs_legacy.3x index 998abd08..b73a6be1 100644 --- a/man/curs_legacy.3x +++ b/man/curs_legacy.3x @@ -1,5 +1,6 @@ .\"*************************************************************************** -.\" Copyright (c) 2007-2015,2017 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.8 2017/11/21 00:45:48 tom Exp $ +.\" $Id: curs_legacy.3x,v 1.10 2020/02/02 23:34:34 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(WINDOW *win);\fP +\fBint getattrs(const WINDOW *win);\fP .br -\fBint getbegx(WINDOW *win);\fP +\fBint getbegx(const WINDOW *win);\fP .br -\fBint getbegy(WINDOW *win);\fP +\fBint getbegy(const WINDOW *win);\fP .br -\fBint getcurx(WINDOW *win);\fP +\fBint getcurx(const WINDOW *win);\fP .br -\fBint getcury(WINDOW *win);\fP +\fBint getcury(const WINDOW *win);\fP .br -\fBint getmaxx(WINDOW *win);\fP +\fBint getmaxx(const WINDOW *win);\fP .br -\fBint getmaxy(WINDOW *win);\fP +\fBint getmaxy(const WINDOW *win);\fP .br -\fBint getparx(WINDOW *win);\fP +\fBint getparx(const WINDOW *win);\fP .br -\fBint getpary(WINDOW *win);\fP +\fBint getpary(const WINDOW *win);\fP .br .SH DESCRIPTION These legacy functions are simpler to use than the X/Open Curses functions: