X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fmenu_driver.3x;h=e395358296c46d8f131bf44041526739d79811ac;hp=39c520d74c2076e0022edb73c8c610a4ec3e7472;hb=fae162795e065e5901068152e91f2962b6b247f3;hpb=17c5992a16be94247b83f2bbb9accdd9b7e7bb72 diff --git a/man/menu_driver.3x b/man/menu_driver.3x index 39c520d7..e3953582 100644 --- a/man/menu_driver.3x +++ b/man/menu_driver.3x @@ -1,5 +1,6 @@ .\"*************************************************************************** -.\" Copyright (c) 1998-2017,2018 Free Software Foundation, Inc. * +.\" Copyright 2018-2019,2020 Thomas E. Dickey * +.\" Copyright 1998-2010,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,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: menu_driver.3x,v 1.24 2018/07/28 22:08:59 tom Exp $ +.\" $Id: menu_driver.3x,v 1.28 2020/12/19 21:33:37 tom Exp $ .TH menu_driver 3X "" .de bP .ie n .IP \(bu 4 @@ -36,8 +37,8 @@ \fBmenu_driver\fR \- command-processing loop of the menu system .SH SYNOPSIS \fB#include \fR -.br -int menu_driver(MENU *menu, int c); +.sp +\fBint menu_driver(MENU *\fP\fImenu\fP\fB, int \fP\fIc\fP\fB);\fP .br .SH DESCRIPTION Once a menu has been posted (displayed), you should funnel input events to it @@ -171,7 +172,7 @@ pre-defined requests. The routine succeeded. .TP 5 .B E_SYSTEM_ERROR -System error occurred (see \fBerrno\fR). +System error occurred (see \fBerrno\fR(3)). .TP 5 .B E_BAD_ARGUMENT Routine detected an incorrect or out-of-range argument. @@ -192,8 +193,8 @@ Character failed to match. The menu driver could not process the request. .SH SEE ALSO \fBcurses\fR(3X), -\fBmenu\fR(3X), -\fBgetch\fR(3X). +\fBgetch\fR(3X), +\fBmenu\fR(3X). .SH NOTES The header file \fB\fR automatically includes the header files \fB\fR.