X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fmenu_mark.3x.html;h=0f59ba8eac53b982020994b7110cdc83579ef1f7;hp=588cb9459707a837b2b849a236fbdab18ecaec40;hb=c6cfd97b8beaf0f6deafbf8aac7281cf6aa7f012;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/doc/html/man/menu_mark.3x.html b/doc/html/man/menu_mark.3x.html index 588cb945..0f59ba8e 100644 --- a/doc/html/man/menu_mark.3x.html +++ b/doc/html/man/menu_mark.3x.html @@ -1,8 +1,7 @@ - +
+ +- +menu_mark(3x) menu_mark(3x) + + +-
+NAME
menu_mark - get and set the menu mark string-SYNOPSIS
+SYNOPSIS
#include <menu.h> int set_menu_mark(MENU *menu, const char *mark); const char *menu_mark(const MENU *menu);-DESCRIPTION
+DESCRIPTION
In order to make menu selections visible on older termi- nals without highlighting or color capability, the menu library marks selected items in a menu with a prefix @@ -68,54 +73,67 @@ posted is likely to produce unhelpful behavior. The default string is "-" (a dash). Calling set_menu_mark - with a NULL menu argument will change this default. + with a non-NULL menu argument will change this default. The function menu_mark returns the menu's mark string (or NULL if there is none).-RETURN VALUE
- The function menu_mark returns NULL on error. The func- - tion set_menu_mark may return the following error codes: +RETURN VALUE
+ The function menu_mark returns a pointer (which may be + NULL). It does not set errno. - E_OK The routine succeeded. + The function set_menu_mark may return the following error + codes: - E_SYSTEM_ERROR - System error occurred (see errno). + E_OK The routine succeeded. E_BAD_ARGUMENT - Routine detected an incorrect or out-of-range argu- + Routine detected an incorrect or out-of-range argu- ment. + E_SYSTEM_ERROR + System error occurred (see errno). +-SEE ALSO
+SEE ALSO
curses(3x), menu(3x).-NOTES
+NOTES
The header file <menu.h> automatically includes the header file <curses.h>.-PORTABILITY
- These routines emulate the System V menu library. They +PORTABILITY
+ These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions.-AUTHORS
- Juergen Pfeifer. Manual pages and adaptation for new +AUTHORS
+ Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. + + + menu_mark(3x)-
- -Man(1) output converted with -man2html - +