]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/curs_threads.3x
ncurses 6.4 - patch 20231007
[ncurses.git] / man / curs_threads.3x
index 7247a52721b6cc5f29826676cf5ae5179c2e9524..9df26ba25856102c223dbd0e40992b8421e8ec06 100644 (file)
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: curs_threads.3x,v 1.46 2023/10/01 09:45:30 tom Exp $
-.TH curs_threads 3X 2023-10-01 "ncurses 6.4" "Library calls"
-.ie \n(.g .ds `` \(lq
-.el       .ds `` ``
-.ie \n(.g .ds '' \(rq
-.el       .ds '' ''
+.\" $Id: curs_threads.3x,v 1.47 2023/10/07 21:19:07 tom Exp $
+.TH curs_threads 3X 2023-10-07 "ncurses 6.4" "Library calls"
+.ie \n(.g \{\
+.ds `` \(lq
+.ds '' \(rq
+.\}
+.el \{\
+.ie t .ds `` ``
+.el   .ds `` ""
+.ie t .ds '' ''
+.el   .ds '' ""
+.\}
+.
 .de bP
 .ie n  .IP \(bu 4
 .el    .IP \(bu 2
 \fIcurses\fR support for multi-threaded applications
 .SH SYNOPSIS
 .nf
-\fB#include <curses.h>\fP
+\fB#include <curses.h>
 .PP
-\fI/* data types */\fP
-\fBtypedef int (*NCURSES_WINDOW_CB)(WINDOW *, void *);\fP
-\fBtypedef int (*NCURSES_SCREEN_CB)(SCREEN *, void *);\fP
+\fI/* data types */
+\fBtypedef int (*NCURSES_WINDOW_CB)(WINDOW *, void *);
+\fBtypedef int (*NCURSES_SCREEN_CB)(SCREEN *, void *);
 .PP
-\fBint get_escdelay(void);\fP
-\fBint set_escdelay(int \fIms\fB);\fR
-\fBint set_tabsize(int \fIcols\fB);\fR
+\fBint get_escdelay(void);
+\fBint set_escdelay(int \fIms\fP);
+\fBint set_tabsize(int \fIcols\fP);
 .PP
-\fBint use_screen(SCREEN *\fIscr\fB, NCURSES_SCREEN_CB \fIfunc\fB, void *\fIdata\fB);\fR
-\fBint use_window(WINDOW *\fIwin\fB, NCURSES_WINDOW_CB \fIfunc\fB, void *\fIdata\fB);\fR
+\fBint use_screen(SCREEN *\fIscr\fP, NCURSES_SCREEN_CB \fIfunc\fP, void *\fIdata\fP);
+\fBint use_window(WINDOW *\fIwin\fP, NCURSES_WINDOW_CB \fIfunc\fP, void *\fIdata\fP);
 .fi
 .SH DESCRIPTION
 The \fIncurses\fP library can be configured to support multi-threaded