3 \fBaddstr\fR, \fBaddnstr\fR, \fBwaddstr\fR, \fBwaddnstr\fR,
4 \fBmvaddstr\fR, \fBmvaddnstr\fR, \fBmvwaddstr\fR, \fBmvwaddnstr\fR - add a
5 string of characters to a \fBcurses\fR window and advance cursor
7 \fB#include <curses.h>\fR
9 \fBint addstr(const char *str);\fR
11 \fBint addnstr(const char *str, int n);\fR
13 \fBint waddstr(WINDOW *win, const char *str);\fR
15 \fBint waddnstr(WINDOW *win, const char *str, int n);\fR
17 \fBint mvaddstr(int y, int x, const char *str);\fR
19 \fBint mvaddnstr(int y, int x, const char *str, int n);\fR
21 \fBint mvwaddstr(WINDOW *win, int y, int x, const char *str);\fR
23 \fBint mvwaddnstr(WINDOW *win, int y, int x, const char *str, int n);\fR
25 These routines write the characters of the (null-terminated) character string
26 \fIstr\fR on the given window. It is similar to calling \fBwaddch\fR once for
27 each character in the string. The four routines with \fIn\fR as the last
28 argument write at most \fIn\fR characters. If \fIn\fR is -1, then the
29 entire string will be added.
31 All routines return the integer \fBERR\fR upon failure and \fBOK\fR on success
32 (the SVr4 manuals specify only "an integer value other than \fBERR\fR") upon
33 successful completion.
35 Note that all of these routines except \fBwaddstr\fR and \fBwaddnstr\fR may be
38 All these entry points are described in the XSI Curses standard, Issue 4. The
39 XSI errors EILSEQ and EOVERFLOW, associated with extended-level conformance,
42 \fBcurses\fR(3X), \fBcurs_addch\fR(3X).
44 .\"# The following sets edit modes for GNU EMACS