method
File.open
File.open(path: p, mode: m) -> pointer
Opens path with a C fopen mode string ("rb", "wb", "ab"). Returns the handle, or null when the file cannot be opened — always test for it.
Example
# doc-check: skip — illustrative
let f = File.open(path: "save/best.txt", mode: "rb")
if f == null { return }