close multimethod

Methods

close(f:File) Source: stdlib.ngs:4390
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.

Returns

f
close(fd:Int) Source: stdlib.ngs:4400
Close a file. Uses CLOSE(2). Throws FileIOFail if an underlying error occurs.
close(cp:CommandsPipeline) Source: stdlib.ngs:4914
Close reading and writing pipes of CommandsPipeline, if they exist