-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<!--
* t
****************************************************************************
- * Copyright (c) 1998 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2006,2010 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: menu_mark.3x,v 1.6 1998/11/29 01:10:03 Rick.Ohnemus Exp @
+ * @Id: menu_mark.3x,v 1.11 2010/12/04 18:40:45 tom Exp @
-->
<HTML>
<HEAD>
posted is likely to produce unhelpful behavior.
The default string is "-" (a dash). Calling <STRONG>set_menu_mark</STRONG>
- with a <STRONG>NULL</STRONG> menu argument will change this default.
+ with a non-<STRONG>NULL</STRONG> menu argument will change this default.
The function <STRONG>menu_mark</STRONG> returns the menu's mark string (or
<STRONG>NULL</STRONG> if there is none).
</PRE>
<H2>RETURN VALUE</H2><PRE>
- The function <STRONG>menu_mark</STRONG> returns <STRONG>NULL</STRONG> on error. The func-
- tion <STRONG>set_menu_mark</STRONG> may return the following error codes:
+ The function <STRONG>menu_mark</STRONG> returns a pointer (which may be
+ <STRONG>NULL</STRONG>). It does not set errno.
- <STRONG>E_OK</STRONG> The routine succeeded.
+ The function <STRONG>set_menu_mark</STRONG> may return the following error
+ codes:
- <STRONG>E_SYSTEM_ERROR</STRONG>
- System error occurred (see <STRONG>errno</STRONG>).
+ <STRONG>E_OK</STRONG> The routine succeeded.
<STRONG>E_BAD_ARGUMENT</STRONG>
- Routine detected an incorrect or out-of-range argu-
+ Routine detected an incorrect or out-of-range argu-
ment.
+ <STRONG>E_SYSTEM_ERROR</STRONG>
+ System error occurred (see <STRONG>errno</STRONG>).
+
</PRE>
<H2>SEE ALSO</H2><PRE>
</PRE>
<H2>PORTABILITY</H2><PRE>
- These routines emulate the System V menu library. They
+ These routines emulate the System V menu library. They
were not supported on Version 7 or BSD versions.
</PRE>
<H2>AUTHORS</H2><PRE>
- Juergen Pfeifer. Manual pages and adaptation for new
+ Juergen Pfeifer. Manual pages and adaptation for new
curses by Eric S. Raymond.