| Main index | Section 3 | Options |
#include <menu.h>ITEM *new_item(const char *name, const char *description); int free_item(ITEM *item);
| E_BAD_ARGUMENT | |
| Routine detected an incorrect or out-of-range argument. | |
| E_SYSTEM_ERROR | |
| System error occurred, e.g., malloc failure. | |
| The function free_item returns one of the following: | |
| E_OK | The routine succeeded. |
| E_BAD_ARGUMENT | |
| Routine detected an incorrect or out-of-range argument. | |
| E_CONNECTED | |
| Item is connected to a menu. | |
| E_SYSTEM_ERROR | |
| System error occurred (see errno(3)). | |
| 2024-03-16 | mitem_new (3X) | ncurses 6.5 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Do you laugh when the waiter drops a tray full of dishes? Unix weenies do. They're the first ones to laugh at hapless users, trying to figure out an error message that doesn't have anything to do with what they just typed. | ” |
| — The Unix Haters' handbook | ||