fclose (msvcrt)
Last changed: coleharrisjohnson@gmail.com-72.219.133.104

.
Summary
Closes a stream.

C# Signature:

[DllImport("msvcrt.dll", CallingConvention=CallingConvention.Cdecl, SetLastError=true)]
public static extern Int32 fclose(IntPtr stream);

VB Signature:

<DllImport("msvcrt.dll", CallingConvention:=CallingConvention.Cdecl, SetLastError:=True)> _
Public Shared Function fclose(ByVal stream As IntPtr) As Int32
End Function

Alternative Managed API:

System.IO.FileStream

Notes:

Do not attempt to close streams not opened by fopen (includes _wfopen) or fopen_s (includes wfopen_s).

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation
fclose on MSDN