newpup(3G)
newpup - allocates and initializes a structure for a new menu
As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.
NAME newpup - allocates and initializes a structure for a new menu C SPECIFICATION long newpup() PARAMETERS none FUNCTION RETURN VALUE The returned value of this function is a menu identifier. DESCRIPTION newpup allocates and initializes a structure for a new menu; it returns a positive menu identifier. Use newpup with addtopup to create pop-up menus. SEE ALSO addtopup, defpup, dopup, freepup, setpup NOTE This routine is available only in immediate mode.