Function rsix::io::close [−][src]
pub unsafe fn close(raw_fd: RawFd)
Expand description
close(raw_fd)
—Closes a RawFd
directly.
Most users won’t need to use this, as OwnedFd
automatically closes its
file descriptor on Drop
.
Safety
This function takes a RawFd
, which must be valid before the call, and is
not valid after the call.