<!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}: SLsmg_set_char_set</TITLE> <LINK HREF="cref-3.html" REL=next> <LINK HREF="cref-1.html" REL=previous> <LINK HREF="cref.html#toc2" REL=contents> </HEAD> <BODY> <A HREF="cref-3.html">Next</A> <A HREF="cref-1.html">Previous</A> <A HREF="cref.html#toc2">Contents</A> <HR> <H2><A NAME="SLsmg_set_char_set"></A> <A NAME="s2">2. <B>SLsmg_set_char_set</B></A></H2> <P> <DL> <DT><B> Synopsis </B><DD><P>Turn on or off line drawing characters <DT><B> Usage </B><DD><P><CODE>void SLsmg_set_char_set (int a);</CODE> <DT><B> Description </B><DD><P><CODE>SLsmg_set_char_set</CODE> may be used to select or deselect the line drawing character set as the current character set. If <CODE>a</CODE> is non-zero, the line drawing character set will be selected. Otherwise, the standard character set will be selected. <DT><B> Notes </B><DD><P>There is no guarantee that this function will actually enable the use of line drawing characters. All it does is cause subsequent characters to be rendered using the terminal's alternate character set. Such character sets usually contain line drawing characters. <DT><B> See Also </B><DD><P><CODE>SLsmg_write_char, SLtt_get_terminfo</CODE> </DL> <P> <P> <P> <HR> <A HREF="cref-3.html">Next</A> <A HREF="cref-1.html">Previous</A> <A HREF="cref.html#toc2">Contents</A> </BODY> </HTML>