Enables or disables control-character checking for the current screen
#include <nwconio.h>
BYTE SetCtrlCharCheckMode (
BYTE newMode);
(IN) Specifies TRUE = Enable control-character checking. FALSE = Disable control-character checking.
This function returns the value of the old control-character check mode setting.
If an error occurs, the function returns -1 and errno is set to:
Set the newMode parameter to TRUE if control characters are to be checked for, and FALSE otherwise. The control characters to check for are Ctrl+C and Ctrl+S.
Ctrl+C terminates the NLM abnormally (via the abort function).
Ctrl+S pauses output (pressing any key resumes output).