Manual Pages for UNIX Darwin command on man pos_menu_cursor
MyWebUniversity

Manual Pages for UNIX Darwin command on man pos_menu_cursor

menucursor(3X) menucursor(3X)

NAME

mmeennuuccuurrssoorr - position a menu's cursor

SYNOPSIS

##iinncclluuddee <>

int posmenucursor(const MENU *menu);

DESCRIPTION

The function ppoossmmeennuuccuurrssoorr restores the cursor to the current posi-

tion associated with the menu's selected item. This is useful after

ccuurrsseess routines have been called to do screen-painting in response to a

menu select. RREETTUURRNN VVAALLUUEE This routine returns one of the following: EEOOKK The routine succeeded. EESSYYSSTTEEMMEERRRROORR System error occurred (see eerrrrnnoo). EEBBAADDAARRGGUUMMEENNTT

Routine detected an incorrect or out-of-range argument.

EENNOOTTPPOOSSTTEEDD The menu has not been posted.

SEE ALSO

ccuurrsseess(3X), mmeennuu(3X). NNOOTTEESS The header file <> automatically includes the header file <>. PPOORRTTAABBIILLIITTYY

These routines emulate the System V menu library. They were not sup-

ported on Version 7 or BSD versions. AUTHORS Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. menucursor(3X)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™