Error codes


On error ncurses functions return -1. Some functions return 0 on success. See the relevant pages in the documentation for actual return values.