X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmenu_userptr.3x.html;h=816c3f89569327163b60d2a067d2cf6a5afe93f6;hp=9a51193fad7eadd290a3bb67d02e48cf7265fca7;hb=e6f4ffe150c7d919792f29a70b4f031cfab5ef06;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8;ds=sidebyside diff --git a/doc/html/man/menu_userptr.3x.html b/doc/html/man/menu_userptr.3x.html index 9a51193f..816c3f89 100644 --- a/doc/html/man/menu_userptr.3x.html +++ b/doc/html/man/menu_userptr.3x.html @@ -1,8 +1,8 @@ - +
@@ -60,7 +60,7 @@- Every menu and every menu item has a field that can be + Every menu and every menu item has a field that can be used to hold application-specific data (that is, the menu- driver code leaves it alone). These functions get and set the menu user pointer field. @@ -68,13 +68,10 @@
- Except for menu_userptr (which returns NULL on error), - each function returns one of the following: + menu_userptr returns a pointer (which may be NULL). It + does not set errno. - E_OK The routine succeeded. - - E_SYSTEM_ERROR - System error occurred (see errno). + set_menu_userptr returns E_OK (success).@@ -90,16 +87,16 @@
- These routines emulate the System V menu library. They + These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions. - The user pointer should be a void pointer. We leave it as - a char pointer for SVr4 compatibility. + The user pointer is a void pointer. We chose not to leave + it as a char pointer for SVr4 compatibility.
- Juergen Pfeifer. Manual pages and adaptation for new + Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.