Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
chgat, wchgat, mvchgat, mvwchgat — curses on-screen attribute manipulation routinesLIBRARY
Curses Library (libcurses, -lcurses)SYNOPSIS
#include <curses.h>chgat(int n, attr_t attr, short color, const void *opts);
wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts);
mvchgat(int y, int x, int n, attr_t attr, short color, const void *opts);
mvwchgat(WINDOW *win, int y, int x, int n, attr_t attr, short color, const void *opts);
DESCRIPTION
These functions modify the attributes of the drawn content on stdscr or on the specified window.RETURN VALUES
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.