X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_threads.3x;h=855dba83691e90f10c3e8eda18c01ec67d0048f5;hp=a6f6ef7529f9f2e5d6db1236a2bf3d7703665c10;hb=5925150381bb42a4d8c7116d62c348a7b84309f3;hpb=cef50b3afcd58166f3541b701c97bce538844c76 diff --git a/man/curs_threads.3x b/man/curs_threads.3x index a6f6ef75..855dba83 100644 --- a/man/curs_threads.3x +++ b/man/curs_threads.3x @@ -1,5 +1,6 @@ .\"*************************************************************************** -.\" Copyright (c) 2008,2010 Free Software Foundation, Inc. * +.\" Copyright 2020 Thomas E. Dickey * +.\" Copyright 2008-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,16 +27,16 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_threads.3x,v 1.17 2010/10/02 23:21:27 tom Exp $ +.\" $Id: curs_threads.3x,v 1.26 2020/10/24 09:47:37 tom Exp $ .TH curs_threads 3X "" .de bP -.IP \(bu 4 +.ie n .IP \(bu 4 +.el .IP \(bu 2 .. .na .hy 0 .SH NAME -\fBuse_screen\fR, -\fBuse_window\fR \- \fBcurses\fR thread support +\fBcurs_threads\fR \- \fBcurses\fR thread support .ad .hy .SH SYNOPSIS @@ -44,16 +45,16 @@ \fBtypedef int (*NCURSES_WINDOW_CB)(WINDOW *, void *);\fR .br \fBtypedef int (*NCURSES_SCREEN_CB)(SCREEN *, void *);\fR -.br +.sp \fBint get_escdelay(void);\fR .br -\fBint set_escdelay(int size);\fR +\fBint set_escdelay(int \fP\fIsize\fP\fB);\fR .br -\fBint set_tabsize(int size);\fR -.br -\fBint use_screen(SCREEN *scr, NCURSES_WINDOW_CB func, void *data);\fR +\fBint set_tabsize(int \fP\fIsize\fP\fB);\fR +.sp +\fBint use_screen(SCREEN *\fP\fIscr\fP\fB, NCURSES_SCREEN_CB \fP\fIfunc\fP\fB, void *\fP\fIdata\fP\fB);\fR .br -\fBint use_window(WINDOW *win, NCURSES_SCREEN_CB func, void *data);\fR +\fBint use_window(WINDOW *\fP\fIwin\fP\fB, NCURSES_WINDOW_CB \fP\fIfunc\fP\fB, void *\fP\fIdata\fP\fB);\fR .br .SH DESCRIPTION This implementation can be configured to provide rudimentary support @@ -67,7 +68,7 @@ configuration which hide the mutex's needed to prevent concurrent use of the global variables when configured for threading. .PP In addition to forcing access to members of the \fBWINDOW\fP structure -to be via functions (see \fBcurs_opaque\fP(3x)), +to be via functions (see \fBcurs_opaque\fP(3X)), it makes functions of the common global variables, e.g., COLORS, @@ -540,6 +541,7 @@ wget_wch/screen (input-operation) wget_wstr/screen (input-operation) wgetbkgrnd/window wgetch/screen (input-operation) +wgetdelay/window wgetn_wstr/screen (input-operation) wgetnstr/screen (input-operation) wgetparent/window @@ -587,7 +589,7 @@ wvline_set/window .TE .\" *************************************************************************** .SH RETURN VALUE -These functions all return TRUE or FALSE, except as noted. +These functions all return \fBTRUE\fP or \fBFALSE\fP, except as noted. .SH NOTES Both a macro and a function are provided for each name. .SH PORTABILITY @@ -599,9 +601,3 @@ be conditioned using NCURSES_VERSION. \fBcurses\fR(3X), \fBcurs_opaque\fR(3X), \fBcurs_variables\fR(3X). -.\"# -.\"# The following sets edit modes for GNU EMACS -.\"# Local Variables: -.\"# mode:nroff -.\"# fill-column:79 -.\"# End: