X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fcurs_initscr.3x;h=aab21a66472ccd64a1a80a1ae6cc59857f5f691b;hb=122d3739b3c11c83decc625d53f26fff6e825710;hp=3bf80125cd7280b2a2c5bddf05fd414db97ebc0c;hpb=135d37072755704b8d018e5de74e62ff3f28c930;p=ncurses.git diff --git a/man/curs_initscr.3x b/man/curs_initscr.3x index 3bf80125..aab21a66 100644 --- a/man/curs_initscr.3x +++ b/man/curs_initscr.3x @@ -27,8 +27,8 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_initscr.3x,v 1.53 2023/10/07 21:19:07 tom Exp $ -.TH curs_initscr 3X 2023-10-07 "ncurses 6.4" "Library calls" +.\" $Id: curs_initscr.3x,v 1.54 2023/11/11 23:20:20 tom Exp $ +.TH curs_initscr 3X 2023-11-11 "ncurses 6.4" "Library calls" .ie \n(.g \{\ .ds `` \(lq .ds '' \(rq @@ -155,7 +155,15 @@ Routines that return pointers always return \fBNULL\fP on error. X/Open defines no error conditions. In this implementation .bP -\fBendwin\fP returns an error if the terminal was not initialized. +\fBendwin\fP returns an error if +.RS +.bP +the terminal was not initialized, or +.bP +\fBendwin\fP is called more than once without updating the screen, or +.bP +\fBreset_shell_mode\fP(3X) returns an error. +.RE .bP \fBnewterm\fP returns an error if it cannot allocate the data structures for the screen,