Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ endwin(3) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

doupdate(3)

refresh(3)

endwin(3)  —  Subroutines

NAME

endwin − Restores the initial terminal environment

SYNOPSIS

#include <curses.h>
 
int endwin()

DESCRIPTION

This routine restores tty modes, moves the cursor to the lower left corner of the screen, and resets the terminal to the last non-curses mode. 

A program should always call endwin before exiting or escaping from curses mode temporarily.  Call refresh or doupdate to resume after a temporary escape. 

RETURN VALUES

The endwin function returns OK on success and ERR on error. 

RELATED INFORMATION

doupdate(3), refresh(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026