summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man3/insch.3ncurses
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/insch.3ncurses')
-rw-r--r--upstream/opensuse-tumbleweed/man3/insch.3ncurses42
1 files changed, 25 insertions, 17 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/insch.3ncurses b/upstream/opensuse-tumbleweed/man3/insch.3ncurses
index 8d0542e7..cfb2674f 100644
--- a/upstream/opensuse-tumbleweed/man3/insch.3ncurses
+++ b/upstream/opensuse-tumbleweed/man3/insch.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_insch.3x,v 1.36 2023/12/23 16:03:24 tom Exp $
-.TH insch 3NCURSES 2023-12-23 "ncurses 6.4" "Library calls"
+.\" $Id: curs_insch.3x,v 1.40 2024/04/20 19:03:47 tom Exp $
+.TH insch 3NCURSES 2024-04-20 "ncurses 6.5" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@@ -44,7 +44,7 @@
\fB\%winsch\fP,
\fB\%mvinsch\fP,
\fB\%mvwinsch\fP \-
-insert a \fIcurses\fR character in a window
+insert a \fIcurses\fP character in a window
.SH SYNOPSIS
.nf
\fB#include <ncursesw/curses.h>\fP
@@ -68,35 +68,43 @@ cell to the right;
the rightmost character on the line is discarded.
The cursor does not advance.
.SH "RETURN VALUE"
-These functions return \fBOK\fP on success and \fBERR\fP on failure.
+These functions return
+.B OK
+on success and
+.B ERR
+on failure.
.PP
Functions taking a
.I \%WINDOW
pointer argument fail if the pointer is
.BR NULL .
.PP
-Functions prefixed with \*(``mv\*('' first perform cursor movement using
-\fB\%wmove\fP and fail if the position
+Functions prefixed with \*(``mv\*('' first perform cursor movement and
+fail if the position
.RI ( y ,
.IR x )
-is outside the window.
+is outside the window boundaries.
.SH NOTES
+.BR \%insch ,
+.BR \%mvinsch ,
+and
+.B \%mvwinsch
+may be implemented as macros.
+.PP
A terminal's
.B \%insert_character
.RB ( ich1 )
capability
is not necessarily employed.
-.PP
-\fB\%insch\fP,
-\fB\%mvinsch\fP,
-and
-\fB\%mvwinsch\fP
-may be implemented as macros.
.SH PORTABILITY
-X/Open Curses, Issue 4, describes these functions.
+X/Open Curses,
+Issue 4 describes these functions.
.PP
-SVr4 describes successful return values only as
-\*(``an integer value other than \fBERR\fP\*(''.
+SVr4
+.I curses
+describes a successful return value only as
+\*(``an integer value other than
+.BR ERR \*(''.
.SH "SEE ALSO"
\fB\%ins_wch\fP(3NCURSES) describes comparable functions in the
wide-character