Lines Matching refs:mark
180 | Function : int set_menu_mark( MENU *menu, const char *mark )
182 | Description : Set the mark string used to indicate the current
185 | The mark argument may be NULL, in which case no
193 | E_SYSTEM_ERROR - no memory to store mark
196 set_menu_mark(MENU * menu, const char *mark)
200 T((T_CALLED("set_menu_mark(%p,%s)"), (void *)menu, _nc_visbuf(mark)));
202 if (mark && (*mark != '\0') && Is_Printable_String(mark))
203 l = (short)strlen(mark);
209 char *old_mark = menu->mark;
215 we can only accept a mark with exactly the same length */
222 menu->mark = strdup(mark);
223 if (menu->mark)
230 menu->mark = old_mark;
236 menu->mark = (char *)0;
254 returnCode(set_menu_mark(&_nc_Default_Menu, mark));
271 returnPtr(Normalize_Menu(menu)->mark);