The memccpy() function copies bytes from string src to string dst. If the character c (as converted to an unsigned char) occurs in the string src, the copy stops and a pointer to the byte after the co...
The memcpy() function copies len bytes from string src to string dst. The arguments must not overlap -- behavior if the arguments overlap is undefined. To copy byte strings that overlap, use memmove(3...
The memmove() function copies len bytes from string src to string dst. The two strings may overlap; the copy is always done in a non-destructive manner.
The menus library provides a terminal independent menu system using the curses(3) library. Before using the menus functions the terminal must be set up by curses(3) using the initscr() function or sim...
The menu_back() function returns the value of the background attribute for the menu passed. This attribute is set by the set_menu_back() call. The menu_fore() function returns the value of the foregro...
The pos_menu_cursor() function positions the cursor in the menu window. This function can be called after other curses calls to restore the cursor to it's correct position in the menu.
The menu_driver() function is the guts of the menu system. It takes the commands passed by c parameter and performs the requested action on the menu given. The following commands may be given to the m...
The menu_format() returns the number of rows and columns of items that can be displayed by the menu. The format is set by the set_menu_format() function call. Note that the rows and columns defined he...
The item_init() function returns a pointer to the function that will be called whenever the menu is posted and also just after the current item changes. This is set by the set_item_init() call. The it...
The item_count() menu function returns the number of items currently attached to the menu passed. The menu_items() function returns a pointer to an array of item pointers that represent the menu items...
The current_item() returns a pointer to the current menu item. The set_current_item() can be used to set this to the item give. The item_index() function returns the index number in the array of items...