<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE> {The S-lang C Library Reference}: SLtty_set_suspend_state</TITLE> <LINK HREF="cref-111.html" REL=next> <LINK HREF="cref-109.html" REL=previous> <LINK HREF="cref.html#toc110" REL=contents> </HEAD> <BODY> <A HREF="cref-111.html">Next</A> <A HREF="cref-109.html">Previous</A> <A HREF="cref.html#toc110">Contents</A> <HR> <H2><A NAME="SLtty_set_suspend_state"></A> <A NAME="s110">110. <B>SLtty_set_suspend_state</B></A></H2> <P> <DL> <DT><B> Synopsis </B><DD><P>Enable or disable keyboard suspension <DT><B> Usage </B><DD><P><CODE>void SLtty_set_suspend_state (int s)</CODE> <DT><B> Description </B><DD><P>The <CODE>SLtty_set_suspend_state</CODE> function may be used to enable or disable keyboard generation of the <CODE>SIGTSTP</CODE> job control signal. If <CODE>s</CODE> is non-zero, generation of this signal via the terminal interface will be enabled, otherwise it will be disabled. <P>This function should only be called after the terminal driver has be initialized via <CODE>SLang_init_tty</CODE>. The <CODE>SLang_init_tty</CODE> always disables the generation of <CODE>SIGTSTP</CODE> via the keyboard. <DT><B> See Also </B><DD><P><CODE>SLang_init_tty</CODE> </DL> <P> <P> <HR> <A HREF="cref-111.html">Next</A> <A HREF="cref-109.html">Previous</A> <A HREF="cref.html#toc110">Contents</A> </BODY> </HTML>