Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwin(3X) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

curses(5)

getwin(3X)                                                       getwin(3X)

NAME
     getwin, putwin - dump window to, and reload window from, a file

SYNOPSIS
     cc [flag ...] file ... -lcurses [library ...]

     #include <curses.h>

     WINDOW *getwin(FILE *filep);

     int putwin(WINDOW *win, FILE *filep);

DESCRIPTION
     The getwin() function reads window-related data stored in the file by
     putwin(). The function then creates and initialises a new window using
     that data.

     The putwin() function writes all data associated with win into the
     stdio stream to which filep points, using an unspecified format. This
     information can be retrieved later using getwin().

RETURN VALUE
     Upon successful completion, getwin() returns a pointer to the window
     it created. Otherwise, it returns a null pointer.

     Upon successful completion, putwin() returns OK. Otherwise, it returns
     ERR.

ERRORS
     No errors are defined.

SEE ALSO
     curses(3X), scrdump(3X), curses(5).






















Page 1                       Reliant UNIX 5.44                Printed 11/98

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