X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fncurses.3x;h=33cc04a710936656181f07725173fdbb184b8160;hp=74f390cbc5b63e873c6f8a53b78f74c2578914a8;hb=54d0d62f0eb759e3c623a215d98ddebccca64488;hpb=a90dd7b66fa711acd24d8181ea20e4f57d4b36cd diff --git a/man/ncurses.3x b/man/ncurses.3x index 74f390cb..33cc04a7 100644 --- a/man/ncurses.3x +++ b/man/ncurses.3x @@ -28,7 +28,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: ncurses.3x,v 1.145 2020/02/23 01:05:45 tom Exp $ +.\" $Id: ncurses.3x,v 1.147 2020/03/21 23:38:25 tom Exp $ .hy 0 .TH ncurses 3X "" .ie \n(.g .ds `` \(lq @@ -799,6 +799,13 @@ The return values of \fBgetmaxyx\fR are undefined (i.e., these should not be used as the right-hand side of assignment statements). .PP +Functions with a \*(``mv\*('' prefix first perform a cursor movement using +\fBwmove\fP, and return an error if the position is outside the window, +or if the window pointer is null. +Most \*(``mv\*(''-prefixed functions +(except variadic functions such as \fBmvprintw\fP) +are provided both as macros and functions. +.PP Routines that return pointers return \fBNULL\fR on error. .SH ENVIRONMENT .PP @@ -1483,6 +1490,29 @@ wide-character support. If the header is included, its symbols may be made visible. That depends on the value used for \fB_XOPEN_SOURCE\fP feature test macro. +.bP +X/Open Curses documents one required header, +in a special case: before to prototype +the \fBvw_printw\fP and \fBvw_scanw\fP functions +(as well as the obsolete +the \fBvwprintw\fP and \fBvwscanw\fP functions). +Each of those uses a \fBva_list\fP parameter. +.IP +The two obsolete functions were introduced in SVr3. +The other functions were introduced in X/Open Curses. +In between, SVr4 curses provided for the possibility that +an application might include either or . +Initially, that was done by using \fBvoid*\fP for the \fBva_list\fP +parameter. +Later, a special type (defined in ) was introduced, +to allow for compiler type-checking. +That special type is always available, +because is always included by . +.IP +None of the X/Open Curses implementations require an application +to include before because they either +have allowed for a special type, or (like ncurses) include +directly to provide a portable interface. .SH NOTES .PP If standard output from a \fBncurses\fR program is re-directed to something