X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmitem_current.3x.html;h=df6aadaeaaa6bc264eff6c412fea12f0c697158f;hb=9b51794524995304d8788e42aacb36feede9364f;hp=6d946541e1fa8681381b13b74a5012dbc386093b;hpb=eccca377f55c70b12e3e92621d94d1e1c1fcfb7d;p=ncurses.git diff --git a/doc/html/man/mitem_current.3x.html b/doc/html/man/mitem_current.3x.html index 6d946541..df6aadae 100644 --- a/doc/html/man/mitem_current.3x.html +++ b/doc/html/man/mitem_current.3x.html @@ -1,7 +1,8 @@ - @@ -35,7 +36,7 @@
#include <menu.h> - int set_current_item(MENU *menu, const ITEM *item); - ITEM *current_item(const MENU *menu); - int set_top_row(MENU *menu, int row); - int top_row(const MENU *menu); - int item_index(const ITEM *item); + + int set_current_item(MENU *menu, ITEM *item); + ITEM *current_item(const MENU *menu); + + int set_top_row(MENU *menu, int row); + int top_row(const MENU *menu); + + int item_index(const ITEM *item);
@@ -76,7 +80,7 @@
current_item returns a pointer (which may be NULL). It does not set - errno. + errno. top_row and item_index return ERR (the general curses error value) if their menu parameter is NULL. @@ -108,8 +112,8 @@
- These routines emulate the System V menu library. They were not sup- - ported on Version 7 or BSD versions. + These routines emulate the System V menu library. They were not + supported on Version 7 or BSD versions. The SVr4 menu library documentation specifies the top_row and index_item error value as -1 (which is the value of ERR).