Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
curses_scanw, scanw, wscanw, mvscanw, mvwscanw — curses read formatted data from screen routinesLIBRARY
Curses Library (libcurses, -lcurses)SYNOPSIS
#include <curses.h>scanw(const char *fmt, ...);
wscanw(WINDOW *win, const char *fmt, ...);
mvscanw(int y, int x, const char *fmt, ...);
mvwscanw(WINDOW *win, int y, int x, const char *fmt, ...);
DESCRIPTION
These functions read formatted data from stdscr or from 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.