X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fmenu_pattern.3x;h=a24ffa0818c588ed12958eb9eef7cc88fb6bea1a;hp=1905fe1adcc84e85c17a480d7ba32b3cc04b352c;hb=5925150381bb42a4d8c7116d62c348a7b84309f3;hpb=eccca377f55c70b12e3e92621d94d1e1c1fcfb7d diff --git a/man/menu_pattern.3x b/man/menu_pattern.3x index 1905fe1a..a24ffa08 100644 --- a/man/menu_pattern.3x +++ b/man/menu_pattern.3x @@ -1,5 +1,6 @@ .\"*************************************************************************** -.\" Copyright (c) 1998-2018,2019 Free Software Foundation, Inc. * +.\" Copyright 2018-2019,2020 Thomas E. Dickey * +.\" Copyright 1998-2010,2015 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,17 +27,17 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: menu_pattern.3x,v 1.17 2019/01/20 20:32:23 tom Exp $ +.\" $Id: menu_pattern.3x,v 1.21 2020/10/18 00:41:14 tom Exp $ .TH menu_pattern 3X "" .SH NAME \fBset_menu_pattern\fP, \fBmenu_pattern\fR \- set and get a menu's pattern buffer .SH SYNOPSIS \fB#include \fR +.sp +\fBint set_menu_pattern(MENU *\fP\fImenu\fP\fB, const char *\fP\fIpattern\fP\fB);\fP .br -int set_menu_pattern(MENU *menu, const char *pattern); -.br -char *menu_pattern(const MENU *menu); +\fBchar *menu_pattern(const MENU *\fP\fImenu\fP\fB);\fP .br .SH DESCRIPTION Every menu has an associated pattern match buffer. @@ -56,7 +57,7 @@ The function \fBmenu_pattern\fR returns a pointer, which is \fBNULL\fR if the \fImenu\fP parameter is \fBNULL\fP. Otherwise, it is a pointer to a string which is empty if no pattern has been set. -It does not set errno. +It does not set \fBerrno\fP. .PP The function \fBset_menu_pattern\fR may return the following error codes: .TP 5