1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META http-equiv="Content-Style-Type" content="text/css">
7<title>NETMemSet</title>
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9</head>
10
11<body>
12
13<h1 align="left">NETMemSet</h1>
14<h2>Syntax</h2>
15
16<dl>
17  <dd>
18  <PRE><CODE>#include &lt;revolution/net.h&gt;
19
20void*   NETMemSet( void* buf, int ch, size_t size );
21
22</CODE></PRE>
23  </dd>
24</dl><h2>Arguments</h2>
25
26<table border="1" width="100%">
27    <TR>
28      <TD width="176"><em><strong><font face="Courier New">buf</font></strong></em></TD>
29      <TD width="670">Address of the region to be set</TD>
30    </TR>
31    <TR>
32      <TD width="176"><em><strong><font face="Courier New">ch</font></strong></em></TD>
33      <TD width="670">The character to be set (8-bit)</TD>
34    </TR>
35    <TR>
36      <TD width="176"><em><strong><font face="Courier New">size</font></strong></em></TD>
37      <TD width="670">The size to be set (in bytes)</TD>
38    </TR>
39  </table>
40<h2>Return Values</h2>
41<p>Returns <CODE>buf</CODE> as is.</p>
42<H2>Description</H2>
43<P>
44Embeds the <code>size</code> in bytes from the address specified by <code>buf</code> using characters specified by <code>ch</code>.
45</P>
46<P>
47If <code>ch</code> is zero, this runs at high speed compared to when another value is set.
48</P>
49<h2>See Also</h2>
50<p></p>
51<H2>Revision History</H2>
52<P>
532008/08/29 Initial version.<BR>
54</P>
55<hr><p>CONFIDENTIAL</p></body>
56</html>
57