Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > T

touchwin(3X)

CURSES
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

touchwin — window refresh control function

SYNOPSIS

#include <curses.h>

int touchwin(WINDOW *win);

DESCRIPTION

The touchwin() function touches the specified window (that is, marks it as having changed more recently than the last refresh operation).

RETURN VALUE

Upon successful completion, the this function return OK. Otherwise, it returns ERR.

ERRORS

No errors are defined.

APPLICATION USAGE

Calling touchwin() or touchline() is sometimes necessary when using overlapping windows, since a change to one window affects the other window, but the records of which lines have been changed in the other window do not reflect the change.

SEE ALSO

doupdate(3X), is_linetouched(3X), curses_intro(3X), see section Screens, Windows and Terminals, <curses.h>.

CHANGE HISTORY

First released in X/Open Curses, Issue 2.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.