Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
NAME
curses_clear, clear, wclear, clearok, clrtobot, clrtoeol, erase, werase, wclrtobot, wclrtoeol — curses clear window routinesLIBRARY
Curses Library (libcurses, -lcurses)SYNOPSIS
#include <curses.h>clear(void);
clearok(WINDOW *win, bool flag);
clrtobot(void);
clrtoeol(void);
erase(void);
wclear(WINDOW *win);
werase(WINDOW *win);
wclrtobot(WINDOW *win);
wclrtoeol(WINDOW *win);
DESCRIPTION
These functions clear all or part of stdscr or of 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.