File size: Difference between revisions
m
OCaml: update links
Jazzedpineda (talk | contribs) (Omitted EasyLang) |
m (OCaml: update links) |
||
Line 1,139:
printFileSize "/input.txt" ;;</syntaxhighlight>
For files greater than
<syntaxhighlight lang="ocaml">let printLargeFileSize filename =
let ic = open_in filename in
Line 1,151:
Printf.printf "%d\n" (stat "/input.txt").st_size ;;</syntaxhighlight>
The module Unix has also a [
=={{header|Oforth}}==
|