![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| void | trySetBufferSize (size_t size) |
Public Attributes | |
| Pid | sshPid |
| AutoCloseFD | out |
| AutoCloseFD | in |
| void nix::SSHMaster::Connection::trySetBufferSize | ( | size_t | size | ) |
Try to set the buffer size in both directions to the designated amount, if possible. If not possible, does nothing.
Current implementation is to use fcntl with F_SETPIPE_SZ, which is Linux-only. For this implementation, size must convertible to an int. In other words, it must be within [0, INT_MAX].