![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <file-descriptor.hh>
Public Attributes | |
| std::optional< std::make_unsigned_t< off_t > > | expectedSize = {} |
| bool | block = true |
Options for draining a file descriptor to a sink.
| bool nix::DrainFdSinkOpts::block = true |
Whether to block on read.
| std::optional<std::make_unsigned_t<off_t> > nix::DrainFdSinkOpts::expectedSize = {} |
If provided, read exactly this many bytes (throws EndOfFile if EOF occurs before reading all bytes).