{The S-lang C Library Reference}: SLtty_set_suspend_state

Next Previous Contents

## 110. SLtty_set_suspend_state

Synopsis

  Enable or disable keyboard suspension

Usage

  `void SLtty_set_suspend_state (int s)`

Description

  The `SLtty_set_suspend_state` function may be used to enable or disable keyboard generation of the `SIGTSTP` job control signal. If `s` is non-zero, generation of this signal via the terminal interface will be enabled, otherwise it will be disabled.

  This function should only be called after the terminal driver has be initialized via `SLang_init_tty`. The `SLang_init_tty` always disables the generation of `SIGTSTP` via the keyboard.

See Also

  `SLang_init_tty`

Next Previous Contents