Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

doupdate(3XC)

initscr(3XC)

slk_attroff(3XC)

ripoffline(3XC)

NAME

ripoffline − reserve screen line for dedicated purpose

SYNOPSIS

#include <curses.h>

int ripoffline(int line, int (∗init)(WINDOW ∗win, int width));

ARGUMENTS

linedetermines whether the screen line being reserved comes from the top of stdscr (line is positive) or the bottom (line is negative). 

initIs a pointer to a function that initializes the one-line window. 

winIs a pointer to one-line window created by this function. 

widthIs the number of columns in the window pointed to by the win parameter. 

DESCRIPTION

The ripoffline() function reserves a screen line as a one line window. 

To use this function, it must be called before you call initscr(3XC) or newterm(3XC).  When initscr() or newterm() is called, so is the function pointed to by init.  The function pointed to by init takes two arguments: a pointer to the one-line window and the number of columns in that window.  This function cannot use the LINES or COLS variables and cannot call wrefresh(3XC) or doupdate(3XC), but may call wnoutrefresh(3XC). 

RETURN VALUES

The rioffline() function always returns OK. 

ERRORS

None. 

SEE ALSO

doupdate(3XC), initscr(3XC), slk_attroff(3XC)

SunOS 5.6  —  Last change: 1 Jun 1996

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