close multimethod

Methods

close(f:File) Source: stdlib.ngs:6279
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:6291
Close a file. Uses CLOSE(2). Throws FileIOFail if an underlying error occurs.

Returns

fd
close(pp:ProcessesPipeline) Source: stdlib.ngs:6977
Close reading and writing pipes of ProcessesPipeline, if they exist