diff options
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/addchstr.3ncurses')
-rw-r--r-- | upstream/opensuse-tumbleweed/man3/addchstr.3ncurses | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/addchstr.3ncurses b/upstream/opensuse-tumbleweed/man3/addchstr.3ncurses index d118bdab..48878990 100644 --- a/upstream/opensuse-tumbleweed/man3/addchstr.3ncurses +++ b/upstream/opensuse-tumbleweed/man3/addchstr.3ncurses @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright 2019-2022,2023 Thomas E. Dickey * +.\" Copyright 2019-2023,2024 Thomas E. Dickey * .\" Copyright 1998-2012,2017 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * @@ -27,8 +27,8 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_addchstr.3x,v 1.38 2023/11/25 14:01:49 tom Exp $ -.TH addchstr 3NCURSES 2023-11-25 "ncurses 6.4" "Library calls" +.\" $Id: curs_addchstr.3x,v 1.45 2024/04/20 21:20:07 tom Exp $ +.TH addchstr 3NCURSES 2024-04-20 "ncurses 6.5" "Library calls" .ie \n(.g \{\ .ds `` \(lq .ds '' \(rq @@ -59,13 +59,13 @@ add a \fIcurses\fR character string to a window \fB#include <ncursesw/curses.h> .PP \fBint addchstr(const chtype *\fIchstr\fP); -\fBint addchnstr(const chtype *\fIchstr\fP, int \fIn\fP); \fBint waddchstr(WINDOW *\fIwin\fP, const chtype *\fIchstr\fP); -\fBint waddchnstr(WINDOW *\fIwin\fP, const chtype *\fIchstr\fP, int \fIn\fP); -.PP \fBint mvaddchstr(int \fIy\fP, int \fIx\fP, const chtype *\fIchstr\fP); -\fBint mvaddchnstr(int \fIy\fP, int \fIx\fP, const chtype *\fIchstr\fP, int \fIn\fP); \fBint mvwaddchstr(WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP, const chtype *\fIchstr\fP); +.PP +\fBint addchnstr(const chtype *\fIchstr\fP, int \fIn\fP); +\fBint waddchnstr(WINDOW *\fIwin\fP, const chtype *\fIchstr\fP, int \fIn\fP); +\fBint mvaddchnstr(int \fIy\fP, int \fIx\fP, const chtype *\fIchstr\fP, int \fIn\fP); \fBint mvwaddchnstr(WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP, const chtype *\fIchstr\fP, int \fIn\fP); .fi .SH DESCRIPTION @@ -96,23 +96,28 @@ rather than wrapping it around to the new line. .SH RETURN VALUE All functions return the integer \fBERR\fP upon failure and \fBOK\fP on success. .PP -X/Open does not define any error conditions. +X/Open Curses does not specify any error conditions. This implementation returns an error .bP if the \fIwin\fP parameter is null or .bP if the \fIwchstr\fP parameter is null. .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. +Functions prefixed with \*(``mv\*('' first perform cursor movement and +fail if the position +.RI ( y , +.IR x ) +is outside the window boundaries. .SH NOTES All functions except \fBwaddchnstr\fP may be macros. .SH PORTABILITY -These functions are described in the XSI Curses standard, Issue 4. +These functions are described in X/Open Curses, Issue 4. .SH SEE ALSO +\fB\%add_wchstr\fP(3NCURSES) describes comparable functions of the +.I \%ncurses +library in its wide-character configuration +.RI ( \%ncursesw ). +.PP \fB\%ncurses\fP(3NCURSES), \fB\%addch\fP(3NCURSES), -\fB\%addstr\fP(3NCURSES), -\fB\%addwstr\fP(3NCURSES), -\fB\%add_wchstr\fP(3NCURSES) +\fB\%addstr\fP(3NCURSES) |