delay_output Subroutine
Purpose
Sets the delay output.
Library
Curses Library (libcurses.a)
Syntax
#include <curses.h>
int delay_output(int ms);
Description
On terminals that support pad characters, the delay_output subroutine pauses the output for at least ms milliseconds. Otherwise, the length of the delay is unspecified.
Parameters
Item | Description |
---|---|
ms | Specifies the number of milliseconds to delay output. |
Return Values
Upon successful completion, the delay_output subroutine returns OK. Otherwise, it returns ERR.
Examples
To set the output to delay 250 milliseconds, enter:
delay_output(250);