summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man3/printw.3ncurses
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/printw.3ncurses')
-rw-r--r--upstream/opensuse-tumbleweed/man3/printw.3ncurses24
1 files changed, 14 insertions, 10 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/printw.3ncurses b/upstream/opensuse-tumbleweed/man3/printw.3ncurses
index c25762f9..cd320345 100644
--- a/upstream/opensuse-tumbleweed/man3/printw.3ncurses
+++ b/upstream/opensuse-tumbleweed/man3/printw.3ncurses
@@ -1,5 +1,5 @@
.\"***************************************************************************
-.\" Copyright 2018-2022,2023 Thomas E. Dickey *
+.\" Copyright 2018-2023,2024 Thomas E. Dickey *
.\" Copyright 1998-2010,2017 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
@@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_printw.3x,v 1.47 2023/12/23 14:41:07 tom Exp $
-.TH printw 3NCURSES 2023-12-23 "ncurses 6.4" "Library calls"
+.\" $Id: curs_printw.3x,v 1.53 2024/04/20 19:18:18 tom Exp $
+.TH printw 3NCURSES 2024-04-20 "ncurses 6.5" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@@ -96,16 +96,18 @@ upon failure and
upon success.
.PP
In
-.I \%ncurses,
+.IR \%ncurses ,
failure occurs if the library cannot allocate enough memory for the
buffer into which the output is formatted,
or if the window pointer
.I win
is null.
.PP
-Functions with a \*(``mv\*('' prefix first perform a cursor movement
-using \fB\%wmove\fP,
-and fail if the position is outside the window.
+Functions prefixed with \*(``mv\*('' first perform cursor movement and
+fail if the position
+.RI ( y ,
+.IR x )
+is outside the window boundaries.
.SH NOTES
No wide character counterpart functions are defined by the
\*(``wide\*(''
@@ -116,7 +118,8 @@ To format and write a wide-character string to a
window,
consider using \fI\%swprintf\fP(3) and \fB\%waddwstr\fP(3NCURSES) or similar.
.SH PORTABILITY
-X/Open Curses, Issue 4, describes these functions.
+X/Open Curses,
+Issue 4 describes these functions.
It specifies no error conditions for them.
.PP
.I \%ncurses
@@ -125,7 +128,8 @@ legacy applications.
However,
the latter is obsolete.
.bP
-X/Open Curses, Issue 4, Version 2 (1996),
+X/Open Curses,
+Issue 4 Version 2 (1996),
marked \fB\%vwprintw\fP as requiring \fI\%varargs.h\fP and
\*(``TO BE WITHDRAWN\*('',
and specified \fB\%vw_printw\fP using the \fI\%stdarg.h\fP interface.
@@ -160,7 +164,7 @@ In 1991
and after the C standard was published),
other developers updated the library,
using \fI\%stdarg.h\fP internally in 4.4BSD
-.I curses.
+.IR curses .
Even with this improvement,
BSD
.I curses