Methods

closeΒΆ

close(f:File)

Close a file and sets the "fd" field to null. Uses CLOSE(2). Throws InvalidArgument if file is not open. Throws FileIOFail if an underlying error occurs.
Source: stdlib.ngs:3043

Returns

f