<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE> {The S-lang C Library Reference}: SLsmg_write_raw</TITLE>
<LINK HREF="cref-37.html" REL=next>
<LINK HREF="cref-35.html" REL=previous>
<LINK HREF="cref.html#toc36" REL=contents>
</HEAD>
<BODY>
<A HREF="cref-37.html">Next</A>
<A HREF="cref-35.html">Previous</A>
<A HREF="cref.html#toc36">Contents</A>
<HR>
<H2><A NAME="SLsmg_write_raw"></A> <A NAME="s36">36. <B>SLsmg_write_raw</B></A></H2>

<P>
<DL>
<DT><B> Synopsis </B><DD><P>Write characters directly to the virtual display
<DT><B> Usage </B><DD><P><CODE>unsigned int SLsmg_write_raw (unsigned short *buf, unsigned int len)</CODE>
<DT><B> Description </B><DD><P>The <CODE>SLsmg_write_raw</CODE> function attempts to write <CODE>len</CODE>
characters specified by <CODE>buf</CODE> to the display at the current
position.  It returns the number of characters successfully written,
which will be less than <CODE>len</CODE> if an attempt is made to write
past the right margin.
<DT><B> Notes </B><DD><P>The purpose of the pair of functions, <CODE>SLsmg_read_raw</CODE> and
<CODE>SLsmg_write_raw</CODE>, is to permit one to copy the contents of one
region of the virtual display to another region.
<DT><B> See Also </B><DD><P><CODE>SLsmg_read_raw</CODE>
</DL>
<P>
<P>
<P>
<HR>
<A HREF="cref-37.html">Next</A>
<A HREF="cref-35.html">Previous</A>
<A HREF="cref.html#toc36">Contents</A>
</BODY>
</HTML>
