X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmitem_current.3x.html;h=ea8a33f7ddc96226eef1854105e7221d50ff2dae;hb=e2153a14ebfb90265151d608778aaf9f403b3d24;hp=3f62802197ec83bd2d5748f9a60f2ba45872651b;hpb=0de8912c1c0746eb37b733e9e6fdf852aab9506a;p=ncurses.git diff --git a/doc/html/man/mitem_current.3x.html b/doc/html/man/mitem_current.3x.html index 3f628021..ea8a33f7 100644 --- a/doc/html/man/mitem_current.3x.html +++ b/doc/html/man/mitem_current.3x.html @@ -1,7 +1,7 @@ - -mitem_current 3x +mitem_current 3x 2024-03-16 ncurses 6.5 Library calls - + -

mitem_current 3x

+

mitem_current 3x 2024-03-16 ncurses 6.5 Library calls

-mitem_current(3x)                                            mitem_current(3x)
+mitem_current(3x)                Library calls               mitem_current(3x)
 
 
 
@@ -52,11 +52,14 @@
 
 

SYNOPSIS

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

DESCRIPTION

@@ -76,7 +79,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.
@@ -98,20 +101,11 @@
             System error occurred (see errno(3)).
 
 
-

SEE ALSO

-       curses(3x), menu(3x).
-
-
-

NOTES

-       The  header  file  <menu.h>  automatically  includes  the  header  file
-       <curses.h>.
-
-
 

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
+       The   SVr4   menu  library  documentation  specifies  the  top_row  and
        index_item error value as -1 (which is the value of ERR).
 
 
@@ -120,8 +114,12 @@
        Raymond.
 
 
+

SEE ALSO

+       curses(3x), menu(3x)
+
 
-                                                             mitem_current(3x)
+
+ncurses 6.5                       2024-03-16                 mitem_current(3x)