Project

General

Profile

Fclose » History » Version 2

Per Amundsen, 06/27/2014 02:19 PM

1 1 Per Amundsen
_Added in 1.8.10_
2
3
*/fclose <handle>*
4
5
Closes the file associated with this handle.
6
7 2 Per Amundsen
If you specify a wildcard, all matching handles are closed.
8 1 Per Amundsen
9
*Parameters*
10
11
<handle> - The handle to close.
12
13
*Example*
14
15
<pre>
16
alias example {
17
  ;Open a file.
18
  /fopen -o x example.txt
19
20
  ;write to the file
21
  /fwrite x Print this line.
22
23
  ;Close the file handle
24
  /fclose x
25
}
26
</pre>