X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_legacy.3x;fp=man%2Fcurs_legacy.3x;h=a89337c2f8f23fd7f3dd50402d6b115e744ae49f;hp=bf24a74d490933d7ae9fba1744e9dee7db596432;hb=2de8c14bb2c6f8e61cfbbfb1f0f30d1ad64c8d68;hpb=64845eab0d05cd928ed2455d5bc5b58e0b33c893 diff --git a/man/curs_legacy.3x b/man/curs_legacy.3x index bf24a74d..a89337c2 100644 --- a/man/curs_legacy.3x +++ b/man/curs_legacy.3x @@ -27,8 +27,8 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_legacy.3x,v 1.28 2023/10/07 21:19:07 tom Exp $ -.TH curs_legacy 3X 2023-10-07 "ncurses 6.4" "Library calls" +.\" $Id: curs_legacy.3x,v 1.29 2023/10/21 10:28:36 tom Exp $ +.TH curs_legacy 3X 2023-10-21 "ncurses 6.4" "Library calls" .de bP .ie n .IP \(bu 4 .el .IP \(bu 2 @@ -63,9 +63,11 @@ get \fIcurses\fR cursor and window coordinates or attributes (legacy) \fBint getpary(const WINDOW *\fIwin\fP); .fi .SH DESCRIPTION -These legacy functions are simpler to use than the X/Open \fIcurses\fP functions: +These legacy functions are simpler to use +than the X/Open \fIcurses\fP functions: .bP -The \fB\%getattrs\fP function returns the same attribute data as \fB\%wattr_get\fP. +The \fB\%getattrs\fP function returns the same attribute data +as \fB\%wattr_get\fP. .IP However, \fB\%getattrs\fP returns an integer (actually a \fB\%chtype\fP), while \fB\%wattr_get\fP returns the current color pair in a separate parameter. @@ -76,7 +78,8 @@ so \fB\%wattr_get\fP is the only way to obtain the color information. Because \fB\%getattrs\fP returns the attributes in a single parameter, it would not be possible for an application to distinguish that from \fBERR\fP (a \fI-1\fP). -If the window parameter is null, \fB\%getattrs\fP returns \fB\%A_NORMAL\fP (zero). +If the window parameter is null, \fB\%getattrs\fP +returns \fB\%A_NORMAL\fP (zero). .bP The \fB\%getbegy\fP and \fB\%getbegx\fP functions return the same data as \fB\%getbegyx\fP.