Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

item_description(3x) [osx man page]

mitem_name(3X)															    mitem_name(3X)

NAME
mitem_name - 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
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
These routines return a pointer (which may be NULL). They do not set errno. SEE ALSO
curses(3X), menu(3X). NOTES
The header file <menu.h> automatically includes the header file <curses.h>. PORTABILITY
These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions. AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. mitem_name(3X)

Check Out this Related Man Page

mitem_value(3X) 														   mitem_value(3X)

NAME
mitem_value - set and get menu item values SYNOPSIS
#include <menu.h> int set_item_value(ITEM *item, bool value); bool item_value(const ITEM *item); DESCRIPTION
If you turn off the menu option O_ONEVALUE (e.g., with set_menu_opts or menu_opts_off; see menu_opts(3X)), the menu becomes multi-valued; that is, more than one item may simultaneously be selected. In a multi_valued menu, you can used set_item_value to select the given menu item (second argument TRUE) or deselect it (second argument FALSE). RETURN VALUE
The function set_item_value returns one of the following: E_OK The routine succeeded. E_SYSTEM_ERROR System error occurred (see errno). E_REQUEST_DENIED The menu driver could not process the request. SEE ALSO
curses(3X), menu(3X). NOTES
The header file <menu.h> automatically includes the header file <curses.h>. PORTABILITY
These routines emulate the System V menu library. They were not supported on Version 7 or BSD versions. AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. mitem_value(3X)
Man Page

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to add up a total in a summary report?

Hi all i got a script up but i cant add up the summary report.. keep having synax error . mind helping me to take a look and tell me what went wrong.. i know is a bit long but i hope someone can hep me with it. thanks the error message come up when i try to run the sumary report.. i guess... (16 Replies)
Discussion started by: xiaojesus
16 Replies

2. AIX

How to add the attribute to odm if it contains negative value?

Hi All, I am trying to add odm_wait attribute to CuAt programatically using putattr(&pCuAt). I was able to add when the odm_wait has positive value . But, I am facing issues when the odm_wait has negative value As per IBM, these are the odm_wait possible values #define ODM_WAIT -1 /*... (3 Replies)
Discussion started by: Sachin1987
3 Replies

3. Ubuntu

Photo not added in latex, Ubuntu 14.04

Hello, I am not sure if this problem belong to this section but I am quite puzzled, so seeking help here. I have cv latex format found online from site . I am using following command line to get the pdf out of it, but somehow the document is missing the PHOTO. I am not sure if its feature of the... (0 Replies)
Discussion started by: emily
0 Replies

4. Shell Programming and Scripting

Line break in sqlplus output through ksh script

Hi, I am new to shell script programming. I have written a ksh script to run the sql File placed in server directory and spool the output in destination directory. Below Command: $ORACLE_HOME/bin/sqlplus -s $ora_uid @$sqlfile_loc$testquery.sql > $opfiledirectory It is generating the output... (6 Replies)
Discussion started by: Sumit Arora
6 Replies

5. UNIX for Beginners Questions & Answers

Mksysb restore problem

Hello everybody, I have a little problem with my mksysb restore. My system: AIX 6100-09-11-1806. I make mksysb backup of my LPARs by NIM server. I am doing restore tests by NIM server on spare LPAR now. All LPARs were restored allright except for one. During restore it stops with this... (4 Replies)
Discussion started by: Necronomic
4 Replies