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=48da9f5b89306b2a958ea9062ac972c33b4237b8;hb=81304798ee736c467839c779c9ca5dca48db7bea;hpb=bca50d0d8592defee6c584fdedd25f4b1a31345b;ds=sidebyside diff --git a/doc/html/man/mitem_current.3x.html b/doc/html/man/mitem_current.3x.html index 48da9f5b..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 @@ mitem_current 3x - + @@ -52,11 +53,14 @@

SYNOPSIS

        #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);
 
 
 

DESCRIPTION

@@ -76,7 +80,7 @@
 
 

RETURN VALUE

        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.
@@ -95,7 +99,7 @@
             No items are connected to the menu.
 
        E_SYSTEM_ERROR
-            System error occurred (see errno).
+            System error occurred (see errno(3)).
 
 
 

SEE ALSO

@@ -108,8 +112,8 @@
 
 
 

PORTABILITY

-       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).