<!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_printf</TITLE> <LINK HREF="cref-13.html" REL=next> <LINK HREF="cref-11.html" REL=previous> <LINK HREF="cref.html#toc12" REL=contents> </HEAD> <BODY> <A HREF="cref-13.html">Next</A> <A HREF="cref-11.html">Previous</A> <A HREF="cref.html#toc12">Contents</A> <HR> <H2><A NAME="SLsmg_printf"></A> <A NAME="s12">12. <B>SLsmg_printf</B></A></H2> <P> <DL> <DT><B> Synopsis </B><DD><P>Format a string on the virtual display <DT><B> Usage </B><DD><P><CODE>void SLsmg_printf (char *fmt, ...)</CODE> <DT><B> Description </B><DD><P><CODE>SLsmg_printf</CODE> format a <CODE>printf</CODE> style variable argument list and writes it on the virtual display. The virtual cursor will be moved to the end of the string. <DT><B> See Also </B><DD><P><CODE>SLsmg_write_string, SLsmg_vprintf</CODE> </DL> <P> <P> <P> <HR> <A HREF="cref-13.html">Next</A> <A HREF="cref-11.html">Previous</A> <A HREF="cref.html#toc12">Contents</A> </BODY> </HTML>