nodelay(3curses)


nodelay -- enable or disable block during read

Synopsis

cc [options] file -lcurses
#include <curses.h>

int nodelay(WINDOW *win, bool bf);

Description

The nodelay(3curses) function specifies whether Delay Mode or No Delay Mode is in effect for the screen associated with the specified window. If bf is TRUE, this screen is set to No Delay Mode. If bf is FALSE, this screen is set to Delay Mode. The initial state is FALSE.

Return value

Upon successful completion, nodelay(3curses) returns OK. Otherwise, it returns ERR.

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

``Input Processing'', getch(3curses), halfdelay(3curses), curses(4), termio(7)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004