Skip to main content
null_fd
std
1.97.0-nightly
(a5c825cd8 2026-04-14)
In std::
os::
unix::
io
std
::
os
::
unix
::
io
Function
null_fd
Copy item path
Source
fn null_fd() ->
Result
<
OwnedFd
>
Available on
non-Hermit and (Unix) and not ((WebAssembly and non-WASI, or Fortanix and SGX))
only.