mitem\_name(3X) Library calls mitem\_name(3X)

# [NAME](#NAME)

**item\_name**, **item\_description** - get menu item name and description fields

# [SYNOPSIS](#SYNOPSIS)

```
#include <menu.h>
```

```
const char *item_name(const ITEM *item);
const char *item_description(const ITEM *item);
```

# [DESCRIPTION](#DESCRIPTION)

The function **item\_name** returns the name part of the given item.  
The function **item\_description** returns the description part of the given item.

# [RETURN VALUE](#RETURN_VALUE)

These routines return a pointer (which may be *NULL*). They do not set **errno**.

# [PORTABILITY](#PORTABILITY)

These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions.

# [AUTHORS](#AUTHORS)

Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.

# [SEE ALSO](#SEE_ALSO)

[**curses**(3X)](/man/os/ncurses/curses.3X), [**menu**(3X)](/man/os/ncurses/menu.3X)

2024-12-28 ncurses 6.6

---

Document: mitem_name(3x) from ncurses 6.6.20260926-r0 (Chainguard OS)
Source: https://github.com/ThomasDickey/ncurses-snapshots
