Curses Library Functions menumark(3CURSES)
NAME
menumark, setmenumark - menus mark string routines
SYNOPSIS
cc [ flag... ] file... -lmenu -lcurses [ library... ]
#include
int setmenumark(MENU *menu, char *mark);
char *menumark(MENU *menu);
DESCRIPTION
menus displays mark strings to distinguish selected items in
a menu (or the current item in a single-valued menu).
setmenumark() sets the mark string of menu to mark.
menumark() returns a pointer to the mark string of menu.
RETURN VALUES
menumark() returns NUL on error. setmenumark() returns
one of the following:
EOK The routine returned successfully.
ESYSTEMEROR System error.
EBADARGUMENT An incorrect argument was passed to the
routine.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Unsafe
SEE ALSO
curses(3CURSES), menus(3CURSES), attributes(5)
NOTES
The header automatically includes the headers
and .
SunOS 5.11 Last change: 31 Dec 1996 1
|