diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2026-01-14 13:37:49 +0100 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2026-01-14 13:37:49 +0100 |
| commit | c5a1e08b52b2f6c05e0116d46277904b711b6bdb (patch) | |
| tree | a6ad7350d1b1100356ca59616d22c51dd29743eb /man/menu_new.3x | |
| parent | 24fa7a5107c5b75d1c197accf0305be64bc72882 (diff) | |
Vendor import ncurses 6.6vendor/ncurses/6.6vendor/ncurses
Diffstat (limited to 'man/menu_new.3x')
| -rw-r--r-- | man/menu_new.3x | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/man/menu_new.3x b/man/menu_new.3x index 1a133745a9b7..af781e3d4722 100644 --- a/man/menu_new.3x +++ b/man/menu_new.3x @@ -27,8 +27,8 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: menu_new.3x,v 1.35 2024/03/16 15:35:01 tom Exp $ -.TH menu_new 3X 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" +.\" $Id: menu_new.3x,v 1.37 2024/12/28 21:26:21 tom Exp $ +.TH menu_new 3X 2024-12-28 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" .SH NAME \fBnew_menu\fP, \fBfree_menu\fP \- @@ -42,12 +42,15 @@ create and destroy menus .fi .SH DESCRIPTION The function \fBnew_menu\fP creates a new menu connected to a specified item -pointer array (which must be \fBNULL\fP-terminated). +pointer array (which must be +.IR NULL -terminated). .PP The function \fBfree_menu\fP disconnects \fImenu\fP from its item array and frees the storage allocated for the menu. .SH RETURN VALUE -The function \fBnew_menu\fP returns \fBNULL\fP on error. +The function \fBnew_menu\fP returns +.I NULL +on error. It sets \fBerrno\fP according to the function's failure: .TP 5 .B E_NOT_CONNECTED |
