mitem_name(3X)
okay so bestie, this is mitem_name(3X) β yes, the Library calls page for getting a menu itemβs name and description. itβs giving βtwo tiny getters, zero drama.β π
π NAME π
item_name, item_description β get menu item name and description fields
β¨ SYNOPSIS β¨
#include <menu.h>
const char *item_name(const ITEM *item);
const char *item_description(const ITEM *item);
π DESCRIPTION π
okay so item_name does exactly what it says on the tin: it returns the name part of the given item. iconic. and item_description? yep, it returns the description part of the given item. two functions, two fields, no cap. π¦
π₯ RETURN VALUE π₯
these routines hand you back a pointer (which may be NULL). they do not set errno. so like, do not goblin-mode assuming errno got updated, bestie. π
π¦ PORTABILITY π¦
these routines emulate the System V menu library. they were not supported on Version 7 or BSD versions. periodt. π
π AUTHORS π
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
π SEE ALSO π
curses(3X)menu(3X)
xoxo, this was ncurses 6.5, dated 2024-12-28 πβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright 2018-2023,2024 Thomas E. Dickey
- Copyright 1998-2010,2015 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms