X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmitem_current.3x.html;h=df6aadaeaaa6bc264eff6c412fea12f0c697158f;hp=77f2616838578b63cce1b91ca20ee5a983a9c48e;hb=81304798ee736c467839c779c9ca5dca48db7bea;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280;ds=sidebyside diff --git a/doc/html/man/mitem_current.3x.html b/doc/html/man/mitem_current.3x.html index 77f26168..df6aadae 100644 --- a/doc/html/man/mitem_current.3x.html +++ b/doc/html/man/mitem_current.3x.html @@ -1,4 +1,4 @@ - @@ -53,11 +53,14 @@
#include <menu.h> - 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); + + 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);
@@ -77,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. @@ -109,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).