- open(f:File, flags:Str) Source: stdlib.ngs:4531
Open a file and set the "fd" field to the file descriptor. Uses OPEN(2). Throws InvalidArgument if file is already open. Throws FileIOFail if an underlying error occurs.
flags Currently "r", "w" or "a" for read/write/append