{The S-lang C Library Reference}: SLsmg_suspend_smg

Next Previous Contents

## 4. SLsmg_suspend_smg

Synopsis

  Suspend screen management

Usage

  `int SLsmg_suspend_smg (void)`

Description

  `SLsmg_suspend_smg` can be used to suspend the state of the screen management facility during suspension of the program. Use of this function will reset the display back to its default state. The funtion `SLsmg_resume_smg` should be called after suspension.

  It returns zero upon success, or `-1` upon error.

  This function is similar to `SLsmg_reset_smg` except that the state of the display prior to calling `SLsmg_suspend_smg` is saved.

See Also

  `SLsmg_resume_smg, SLsmg_reset_smg`

Next Previous Contents