X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fnew_pair.3x;h=c22523887ac63b046960eb36824d09a9d6618b7d;hp=cbc686bdc5f8bf3950bb7ce3bb47714ebec4938d;hb=HEAD;hpb=2de8c14bb2c6f8e61cfbbfb1f0f30d1ad64c8d68 diff --git a/man/new_pair.3x b/man/new_pair.3x index cbc686bd..5e844bf8 100644 --- a/man/new_pair.3x +++ b/man/new_pair.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright 2018-2022,2023 Thomas E. Dickey * +.\" Copyright 2018-2023,2024 Thomas E. Dickey * .\" Copyright 2017 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * @@ -29,8 +29,8 @@ .\" .\" Author: Thomas E. Dickey .\" -.\" $Id: new_pair.3x,v 1.41 2023/10/21 10:31:22 tom Exp $ -.TH new_pair 3X 2023-10-21 "ncurses 6.4" "Library calls" +.\" $Id: new_pair.3x,v 1.46 2024/03/16 15:35:01 tom Exp $ +.TH new_pair 3X 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" .ie \n(.g \{\ .ds `` \(lq .ds '' \(rq @@ -130,7 +130,7 @@ All of the color pairs are allocated from a table of possible color pairs. The size of the table is determined by the terminfo \fBpairs\fP capability. The table is shared with \fBinit_pair\fP; in fact \fBalloc_pair\fP calls \fBinit_pair\fP after -updating the \fIncurses\fP library's fast index +updating the \fI\%ncurses\fP library's fast index to the colors versus color pairs. .SS find_pair The \fBfind_pair\fP function accepts parameters for @@ -155,12 +155,12 @@ or \-1 if not. Likewise, \fBfree_pair\fP returns \fBOK\fP unless it encounters an error updating the fast index or if no such color pair is in use. .SH PORTABILITY -These routines are specific to \fIncurses\fP. +These routines are specific to \fI\%ncurses\fP. They were not supported on Version 7, BSD or System V implementations. It is recommended that any code depending on them be conditioned using \fB\%NCURSES_VERSION\fP. -.SH AUTHOR +.SH AUTHORS Thomas Dickey .SH SEE ALSO \fB\%curs_color\fP(3X)