summaryrefslogtreecommitdiff
path: root/lib/libmenu/menu_format.3
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-11-26 03:59:14 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-11-26 03:59:14 +0000
commit65d9e3fdab3ed1511a98387720e59db078fc3d46 (patch)
tree7fa63a0892e13f7f68f9b6a87154fc3d6a0cce17 /lib/libmenu/menu_format.3
parent4db103e641c472e38eb16ec5885f4ee5cabe750c (diff)
libmenu from ncurses 4.1. Post 4.1 patches to be applied in a separate commit.
Diffstat (limited to 'lib/libmenu/menu_format.3')
-rw-r--r--lib/libmenu/menu_format.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libmenu/menu_format.3 b/lib/libmenu/menu_format.3
index 04ac9edcf1d..a901a065192 100644
--- a/lib/libmenu/menu_format.3
+++ b/lib/libmenu/menu_format.3
@@ -7,7 +7,7 @@
.br
int set_menu_format(MENU *menu, int rows, int cols);
.br
-int menu_format(MENU *menu, int *rows, int *cols);
+int menu_format(const MENU *menu, int *rows, int *cols);
.br
.SH DESCRIPTION
The function \fBset_menu_format\fR sets the maximum display size of the given
@@ -19,7 +19,7 @@ null menu pointer will change this default. A zero row or column argument to
\fBset_menu_format\fR is interpreted as a request not to change the current
value.
-The function \fBget_menu_format\fR returns the maximum-size constraints for the
+The function \fBmenu_format\fR returns the maximum-size constraints for the
given menu into the storage addressed by \fBrows\fR and \fBcols\fR.
.SH RETURN VALUE
These routines returns one of the following: