/
ColdC/Functions/
ColdC/Structure/
<head><title>ColdC: Function/Method Reference: fwrite()</title></head>

<body>

<h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: fwrite()</h1>

<hr>

<p>
<font size=+1><i>INTEGER</i> <b>fwrite</b>(<i>STRING|BUFFER <b>info</b></i>)</font>

<p>Write to an existing file bound to this object.  The argument is either a
buffer (if it is a binary file), or a string (if it is a text file).  The
return value is an integer representing an offset value of characters which
were <i>not</i> written out (due to an error).  In normal operating conditions
the return value will be zero.

<p>Using fwrite() with strings will always terminate the string with a newline
character (or, in Windows 95, a carriage return and a newline).

<p><hr size=4><p align=center><i>Last Modified on Mar 2 1996</i>
<br><i>Copyright &copy; 1995, 1996, Brandon Gillespie</i>
</body>