X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fcurs_addch.3x;h=ad548520ce84c792df349b76f9ab294533b88e6a;hb=00dd248b527ad47f0fc3b0776a0889da0ac926d0;hp=6d4668a83f63ce9b1519b794589f536264c2ed2b;hpb=5e7c0d571f78d9a76ea55fb5bb3a145d0e164264;p=ncurses.git diff --git a/man/curs_addch.3x b/man/curs_addch.3x index 6d4668a8..ad548520 100644 --- a/man/curs_addch.3x +++ b/man/curs_addch.3x @@ -28,8 +28,8 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_addch.3x,v 1.83 2024/04/13 22:23:35 tom Exp $ -.TH curs_addch 3X 2024-04-13 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" +.\" $Id: curs_addch.3x,v 1.85 2024/04/20 19:03:47 tom Exp $ +.TH curs_addch 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" .ie \n(.g \{\ .ds `` \(lq .ds '' \(rq @@ -58,7 +58,7 @@ \fB\%mvwaddch\fP, \fB\%echochar\fP, \fB\%wechochar\fP \- -add a \fIcurses\fR character to a window and advance the cursor +add a \fIcurses\fP character to a window and advance the cursor .SH SYNOPSIS .nf \fB#include @@ -253,13 +253,11 @@ returns if \fB\%scrollok\fP(3X) is not enabled in that event, because it is not possible to wrap to a new line. .PP -Functions with a \*(``mv\*('' prefix first perform cursor movement using -\fB\%wmove\fP(3X) and fail if the position is outside the window, -or -(for \*(``mvw\*('' functions) -if the -.I \%WINDOW -pointer is null. +Functions prefixed with \*(``mv\*('' first perform cursor movement and +fail if the position +.RI ( y , +.IR x ) +is outside the window boundaries. .SH NOTES .BR \%addch , .BR \%mvaddch , @@ -271,6 +269,13 @@ may be implemented as macros. X/Open Curses, Issue 4 describes these functions. It specifies no error conditions for them. +.PP +SVr4 +.I curses +describes a successful return value only as +\*(``an integer value other than +.BR ERR \*(''. +.PP The defaults specified for forms-drawing characters apply in the POSIX locale. .SS "ACS Symbols"