+ <STRONG>o</STRONG> <STRONG>endwin</STRONG> returns an error if
+
+ <STRONG>o</STRONG> the terminal was not initialized, or
+
+ <STRONG>o</STRONG> <STRONG>endwin</STRONG> is called more than once without updating the screen, or
+
+ <STRONG>o</STRONG> <STRONG><A HREF="curs_kernel.3x.html">reset_shell_mode(3x)</A></STRONG> returns an error.