closeFD

Closes a file descriptor.

version(Posix && WithPipelinePlugin)
private
closeFD
(
ref int fd
)

Parameters

fd int

The file descriptor to close. Taken by ref and set to -1 afterwards.

Return Value

Type: auto

The return value of the close() system call.