Added some documentation to some ./examples/*.fun scripts.
This commit is contained in:
parent
aaa2094b47
commit
84ef262588
16 changed files with 151 additions and 13 deletions
|
|
@ -9,6 +9,16 @@
|
|||
* https://opensource.org/license/isc-license-txt
|
||||
*/
|
||||
|
||||
/*
|
||||
* File Input/Output Examples
|
||||
*
|
||||
* Demonstrates:
|
||||
* - Reading from files with `open`
|
||||
* - Writing to output files
|
||||
* - Working with file streams and handles
|
||||
* - Error handling during I/O operations
|
||||
*/
|
||||
|
||||
// file I/O (writes then reads)
|
||||
path = "/tmp/fun_io_example.txt"
|
||||
ok = write_file(path, "hello-io")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue