Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
curses_addstr, addstr, addwstr, waddstr, waddwstr, addnstr, addnwstr, waddnstr, waddnwstr, mvaddstr, mvaddwstr, mvwaddstr, mvwaddwstr, mvaddnstr, mvaddnwstr, mvwaddnstr, mvwaddnwstr — curses add character strings to windows routinesLIBRARY
Curses Library (libcurses, -lcurses)SYNOPSIS
#include <curses.h>addstr(const char *string);
addwstr(const wchar_t *string);
waddstr(WINDOW *win, const char *string);
waddwstr(WINDOW *win, const wchar_t *string);
mvaddstr(int y, int x, const char *string);
mvaddwstr(int y, int x, const wchar_t *string);
mvwaddstr(WINDOW *win, int y, int x, const char *string);
mvwaddwstr(WINDOW *win, int y, int x, const wchar_t *string, int len);
addnstr(const char *string, int len);
addnwstr(const wchar_t *string, int len);
waddnstr(WINDOW *win, const char *string, int len);
waddnwstr(WINDOW *win, const wchar_t *string, int len);
mvaddnstr(int y, int x, const char *string, int len);
mvaddnwstr(int y, int x, const wchar_t *string, int len);
mvwaddnstr(WINDOW *win, int y, int x, const char *string, int len);
mvwaddnwstr(WINDOW *win, int y, int x, const wchar_t *string, int len);
DESCRIPTION
These functions add character strings to stdscr or to the specified window.RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following values:- OK
- The function completed successfully.
- ERR
- An error occurred in the function.