]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/new_pair.3x
ncurses 6.1 - patch 20180331
[ncurses.git] / man / new_pair.3x
index 46c23b48f7d6fa31563fa246ae81f4d60b778d4d..5160db546017a12db35a2d227a00f979acc57451 100644 (file)
@@ -1,5 +1,5 @@
 .\"***************************************************************************
-.\" Copyright (c) 2017 Free Software Foundation, Inc.                        *
+.\" Copyright (c) 2017,2018 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            *
 .\"
 .\" Author: Thomas E. Dickey
 .\"
-.\" $Id: new_pair.3x,v 1.8 2017/03/09 09:59:11 tom Exp $
+.\" $Id: new_pair.3x,v 1.11 2018/04/01 00:01:17 tom Exp $
 .TH new_pair 3X ""
 .ie \n(.g .ds `` \(lq
 .el       .ds `` ``
 .ie \n(.g .ds '' \(rq
 .el       .ds '' ''
 .de bP
-.IP \(bu 4
+.ie n  .IP \(bu 4
+.el    .IP \(bu 2
 ..
 .de NS
-.ie \n(.sp
+.ie n  .sp
 .el    .sp .5
-.ie \n(.in +4
+.ie n  .in +4
 .el    .in +2
 .nf
 .ft C                  \" Courier
 ..
 .SH NAME
 \fBalloc_pair\fP,
+\fBfind_pair\fP,
 \fBfree_pair\fP \- new curses color-pair functions
 .SH SYNOPSIS
 \fB#include <curses.h>\fP
 .sp
 \fBint alloc_pair(int fg, int bg);\fP
 .br
+\fBint find_pair(int fg, int bg);\fP
+.br
 \fBint free_pair(int pair);\fP
 .SH DESCRIPTION
 These functions are an extension to the curses library.
@@ -149,6 +153,6 @@ These routines are specific to ncurses.  They were not supported on
 Version 7, BSD or System V implementations.  It is recommended that
 any code depending on them be conditioned using NCURSES_VERSION.
 .SH SEE ALSO
-\fBinit_pair\fR(3X).
+\fBcurs_color\fR(3X).
 .SH AUTHOR
 Thomas Dickey.